|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the message type.public interface MessageHandler<T>
Interface for a message handler. A message handler has the same lifecycle as
the AppletServiceServlet
dispatcher servlet.
AppletServiceServlet
Method Summary | |
---|---|
java.lang.Object |
handleMessage(T message,
java.util.Map<java.lang.String,java.lang.String> httpHeaders,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session)
Handles the given message. |
void |
init(javax.servlet.ServletConfig config)
Initializes this message handler. |
Method Detail |
---|
java.lang.Object handleMessage(T message, java.util.Map<java.lang.String,java.lang.String> httpHeaders, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpSession session) throws javax.servlet.ServletException
null
.
message
- httpHeaders
- request
- the request from which the body already may be consumed.session
-
javax.servlet.ServletException
void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
config
-
javax.servlet.ServletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |