public class BlockingServerHandler extends ServerHandler
adminKey, localURI, serverPassword
Constructor and Description |
---|
BlockingServerHandler(java.lang.String theServerPassword,
java.lang.String theAdminKey)
Create a new instance of BlockingServerHandler.
|
Modifier and Type | Method and Description |
---|---|
HttpEntity |
handle(BusEntity roEntity)
Handle the HTTP request.
|
HttpEntity |
handle(HttpEntity request)
Handle the HTTP request.
|
isBlocking
public BlockingServerHandler(java.lang.String theServerPassword, java.lang.String theAdminKey) throws java.lang.Exception
theServerPassword
- the server password.theAdminKey
- the server admin key.java.lang.Exception
- any error.public HttpEntity handle(HttpEntity request) throws java.lang.Exception
handle
in class ServerHandler
request
- 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.