com.isomorphic.servlet

## Class RequestContext

- com.isomorphic.servlet.RequestContext

-     public class RequestContext

  `RequestContext` aggregates state about the current request.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `ISCHttpServletRequest` | `request` `ISCHttpServletRequest` instance for the current request.
    `javax.servlet.http.HttpServletResponse` | `response` `HttpServletResponse` instance associated with this request

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static RequestContext` | `instance(javax.servlet.Servlet servlet, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)` `RequestContext` constructor useful for Servlets/Filters.
    `static RequestContext` | `instance(javax.servlet.Servlet servlet, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.io.Writer out)` `RequestContext` constructor useful for JSPs.

- - ### Field Detail

    - #### request

          public ISCHttpServletRequest request

      `ISCHttpServletRequest` instance for the current request.

    - #### response

          public javax.servlet.http.HttpServletResponse response

      `HttpServletResponse` instance associated with this request

  - ### Method Detail

    - #### instance

          public static RequestContext instance(javax.servlet.Servlet servlet,
                                javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response)
                                         throws java.lang.Exception

      `RequestContext` constructor useful for Servlets/Filters.
      Throws:
        `java.lang.Exception`

    - #### instance

          public static RequestContext instance(javax.servlet.Servlet servlet,
                                javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response,
                                java.io.Writer out)
                                         throws java.lang.Exception

      `RequestContext` constructor useful for JSPs.
      Throws:
        `java.lang.Exception`