public class NonBlockingServerMethodHandler extends ServerMethodHandler
MethodInfo
or REST
) and passes that to the appropriate service for execution.adminKey, isBlocking, isXmlRpc
Constructor and Description |
---|
NonBlockingServerMethodHandler(java.lang.String theAdminKey)
Create a new instance of NonBlockingServerMethodHandler.
|
Modifier and Type | Method and Description |
---|---|
HttpEntity |
handleMethodExecution(BusEntity bo)
Handle the HTTP request.
|
badRequestResponse, convertRequest, convertResponse, forbiddenResponse, noContentResponse, notFoundResponse, processLocalCall, processServiceCall, serverRequest
public NonBlockingServerMethodHandler(java.lang.String theAdminKey) throws java.lang.Exception
theAdminKey
- the server admin key.java.lang.Exception
- any error.public HttpEntity handleMethodExecution(BusEntity bo)
handleMethodExecution
in class ServerMethodHandler
bo
- the object retrieved from the message bus.null
, as non-blocking.