public interface InvocationRequest extends Request
Modifier and Type | Interface and Description |
---|---|
static interface |
InvocationRequest.Resolved
The resolved content of the request.
|
Modifier and Type | Method and Description |
---|---|
EJBMethodLocator |
getMethodLocator()
Get the EJB method locator.
|
InvocationRequest.Resolved |
getRequestContent(ClassLoader classLoader)
Get the resolved content of the request.
|
void |
writeNoSuchMethod()
Write a message indicating that the method is not found on the EJB.
|
default void |
writeProceedAsync()
Write a message indicating that this is an async request.
|
void |
writeSessionNotActive()
Write a message indicating that the session is inactive.
|
convertToStateful, getEJBIdentifier, getLocalAddress, getPeerAddress, getProtocol, getProviderInterface, getRequestExecutor, getSecurityIdentity, isBlockingCaller, updateStrongAffinity, updateWeakAffinity, writeCancelResponse, writeException, writeNoSuchEJB, writeNotStateful, writeWrongViewType
InvocationRequest.Resolved getRequestContent(ClassLoader classLoader) throws IOException, ClassNotFoundException
classLoader
- the class loader to use to resolve the requestIOException
- if the request content failed to be deserializedClassNotFoundException
- if a class in the request content failed to be found in the given class loader@NotNull EJBMethodLocator getMethodLocator()
null
)void writeNoSuchMethod()
void writeSessionNotActive()
default void writeProceedAsync()
Copyright © 2019 JBoss by Red Hat. All rights reserved.