java.lang.Object
com.aendvari.hermes.broker.MessageBrokerContext
com.aendvari.hermes.broker.http.HttpMessageBrokerContext
- public class HttpMessageBrokerContext
- extends com.aendvari.hermes.broker.MessageBrokerContext
Extends com.aendvari.hermes.broker.MessageBrokerContext to include HTTP/Servlet specific information.
This class also provides an interface for accessing HTTP/Servlet information from
a MessageBrokerContext's properties.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpMessageBrokerContext
public HttpMessageBrokerContext()
- Constructs a
HttpMessageBrokerContext.
setRequest
public void setRequest(javax.servlet.http.HttpServletRequest setRequest)
- Sets the request of this context.
getRequest
public javax.servlet.http.HttpServletRequest getRequest()
- Returns the request of this context.
getRequest
public static javax.servlet.http.HttpServletRequest getRequest(com.aendvari.hermes.broker.MessageBrokerContext context)
- Returns the request of the supplied context.
setResponse
public void setResponse(javax.servlet.http.HttpServletResponse setResponse)
- Sets the response of this context.
getResponse
public javax.servlet.http.HttpServletResponse getResponse()
- Returns the response of this context.
getResponse
public static javax.servlet.http.HttpServletResponse getResponse(com.aendvari.hermes.broker.MessageBrokerContext context)
- Returns the response of the supplied context.
setSession
public void setSession(javax.servlet.http.HttpSession setSession)
- Sets the session of this context.
setSession
public void setSession(javax.servlet.http.HttpServletRequest setRequest)
- Sets the session of this context. The session is obtained from the supplied request.
getSession
public javax.servlet.http.HttpSession getSession()
- Returns the session of this context.
getSession
public static javax.servlet.http.HttpSession getSession(com.aendvari.hermes.broker.MessageBrokerContext context)
- Returns the session of the supplied context.
setServletConfig
public void setServletConfig(javax.servlet.ServletConfig setServletConfig)
- Sets the servlet configuration of this context.
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
- Returns the servlet configuration of this context.
getServletConfig
public static javax.servlet.ServletConfig getServletConfig(com.aendvari.hermes.broker.MessageBrokerContext context)
- Returns the servlet configuration of the supplied context.