org.jboss.solder.servlet.http
Class HttpServletRequestContext

java.lang.Object
  extended by org.jboss.solder.servlet.ServletRequestContext
      extended by org.jboss.solder.servlet.http.HttpServletRequestContext

@Veto
public class HttpServletRequestContext
extends ServletRequestContext

Encapsulates the HttpServletRequest and HttpServletResponse for the current request and dually provides access to the ServletContext and HttpSession, which are accessed from the HttpServletRequest object.

Author:
Dan Allen

Constructor Summary
HttpServletRequestContext()
           
HttpServletRequestContext(HttpServletRequest request)
           
HttpServletRequestContext(HttpServletRequest request, HttpServletResponse response)
           
HttpServletRequestContext(ServletRequest request)
           
HttpServletRequestContext(ServletRequest request, ServletResponse response)
           
 
Method Summary
 String getContextPath()
           
 HttpSession getHttpSession()
           
 HttpServletRequest getRequest()
           
 HttpServletResponse getResponse()
           
 
Methods inherited from class org.jboss.solder.servlet.ServletRequestContext
equals, getServletContext, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpServletRequestContext

public HttpServletRequestContext()

HttpServletRequestContext

public HttpServletRequestContext(ServletRequest request,
                                 ServletResponse response)

HttpServletRequestContext

public HttpServletRequestContext(ServletRequest request)

HttpServletRequestContext

public HttpServletRequestContext(HttpServletRequest request,
                                 HttpServletResponse response)

HttpServletRequestContext

public HttpServletRequestContext(HttpServletRequest request)
Method Detail

getRequest

public HttpServletRequest getRequest()
Overrides:
getRequest in class ServletRequestContext

getResponse

public HttpServletResponse getResponse()
Overrides:
getResponse in class ServletRequestContext

getHttpSession

public HttpSession getHttpSession()

getContextPath

public String getContextPath()


Copyright © 2011 Seam Framework. All Rights Reserved.