org.jboss.solder.servlet
Class ServletRequestContext

java.lang.Object
  extended by org.jboss.solder.servlet.ServletRequestContext
Direct Known Subclasses:
HttpServletRequestContext

@Veto
public class ServletRequestContext
extends Object

Encapsulates the ServletRequest and ServletResponse for the current request and dually provides access to the ServletContext, which is accessed from the HttpServletRequest object.

Author:
Dan Allen

Constructor Summary
ServletRequestContext()
           
ServletRequestContext(ServletRequest request)
           
ServletRequestContext(ServletRequest request, ServletResponse response)
           
 
Method Summary
 boolean equals(Object obj)
          If the request and response on both objects map to the same Java identity, respectively, then consider these two objects to be equivalent.
 ServletRequest getRequest()
           
 ServletResponse getResponse()
           
 ServletContext getServletContext()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletRequestContext

public ServletRequestContext()

ServletRequestContext

public ServletRequestContext(ServletRequest request,
                             ServletResponse response)

ServletRequestContext

public ServletRequestContext(ServletRequest request)
Method Detail

getServletContext

public ServletContext getServletContext()

getRequest

public ServletRequest getRequest()

getResponse

public ServletResponse getResponse()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
If the request and response on both objects map to the same Java identity, respectively, then consider these two objects to be equivalent.

Overrides:
equals in class Object


Copyright © 2011 Seam Framework. All Rights Reserved.