public class NonBlockingServerHandler extends ServerHandler
adminKey, localURI, serverPassword| Constructor and Description |
|---|
NonBlockingServerHandler(java.lang.String theServerPassword,
java.lang.String theAdminKey)
Create a new instance of NonBlockingServerHandler.
|
| Modifier and Type | Method and Description |
|---|---|
HttpEntity |
handle(BusEntity roEntity)
Handle the HTTP request.
|
HttpEntity |
handle(HttpEntity request)
Handle the HTTP request.
|
isBlockingpublic NonBlockingServerHandler(java.lang.String theServerPassword,
java.lang.String theAdminKey)
throws java.lang.Exception
theServerPassword - the server password.theAdminKey - the service key.java.lang.Exception - any error.public HttpEntity handle(HttpEntity request) throws java.lang.Exception
handle in class ServerHandlerrequest - the HTTP request.java.lang.Exception - any error.public HttpEntity handle(BusEntity roEntity) throws java.lang.Exception
roEntity - the bus message.java.lang.Exception - any error.