public class HohServlet extends HohRawServlet
Constructor and Description |
---|
HohServlet()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
setApplication(ReceivingApplication<? extends Message> theApplication)
Route all messages to a single application
|
void |
setApplicationRouter(ApplicationRouter theApplicationRouter)
Constructor which accepts an ApplicationRouter which may direct different
types of messages to different applications
|
void |
setMessageHandler(IMessageHandler<String> theMessageHandler)
Must not be called
|
doGet, doPost, setAuthorizationCallback, setSigner
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public HohServlet()
public void setApplication(ReceivingApplication<? extends Message> theApplication)
Route all messages to a single application
This method should not be called if setApplicationRouter(ApplicationRouter)
has been called
public void setApplicationRouter(ApplicationRouter theApplicationRouter)
Constructor which accepts an ApplicationRouter which may direct different types of messages to different applications
Does not need to be provided if setApplication(ReceivingApplication)
has been called.
public void setMessageHandler(IMessageHandler<String> theMessageHandler)
setMessageHandler
in class HohRawServlet
theMessageHandler
- the messageHandler to setCopyright © 2012–2017 University Health Network. All rights reserved.