com.ibm.portal.resolver
Interface ServletContext


public interface ServletContext

Extension of the COR context for use in a servlet. Clients can dynamically check instances of Context if they support the ServletContext interface to find out if the COR lookup was issued by a servlet.

Since:
6.0.1

Method Summary
 HttpServletRequest getRequest()
          Returns the HTTP request object associated with the context
 HttpServletResponse getResponse()
          Returns the HTTP response object associated with the context
 

Method Detail

getRequest

HttpServletRequest getRequest()
Returns the HTTP request object associated with the context

Returns:
the current HTTP request, never null

getResponse

HttpServletResponse getResponse()
Returns the HTTP response object associated with the context

Returns:
the current HTTP response, potentially null