Package org.jboss.resteasy.core.interception.jaxrs

## Class ResponseContainerRequestContext

- java.lang.Object
- - org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext
  - - org.jboss.resteasy.core.interception.jaxrs.ResponseContainerRequestContext

- All Implemented Interfaces:
    `javax.ws.rs.container.ContainerRequestContext`, `SuspendableContainerRequestContext`

      public class ResponseContainerRequestContext
      extends PreMatchContainerRequestContext

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    - ### Fields inherited from class org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext

      `httpRequest, response`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ResponseContainerRequestContext​(HttpRequest request)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `abortWith​(javax.ws.rs.core.Response response)` |
    `void` | `setEntityStream​(InputStream entityStream)` |
    `void` | `setMethod​(String method)` |
    `void` | `setRequestUri​(URI requestUri)` |
    `void` | `setRequestUri​(URI baseUri, URI requestUri)` |
    `void` | `setSecurityContext​(javax.ws.rs.core.SecurityContext context)` |

    - ### Methods inherited from class org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext

      `filter, getAcceptableLanguages, getAcceptableMediaTypes, getCookies, getDate, getEntityStream, getHeaders, getHeaderString, getHttpRequest, getLanguage, getLength, getMediaType, getMethod, getProperty, getPropertyNames, getRequest, getResponseAbortedWith, getSecurityContext, getUriInfo, hasEntity, removeProperty, resume, resume, setProperty, startedContinuation, suspend`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ResponseContainerRequestContext

          public ResponseContainerRequestContext​(HttpRequest request)

  - ### Method Detail

    - #### abortWith

          public void abortWith​(javax.ws.rs.core.Response response)

      Specified by:
        `abortWith` in interface `javax.ws.rs.container.ContainerRequestContext`
      Overrides:
        `abortWith` in class `PreMatchContainerRequestContext`

    - #### setSecurityContext

          public void setSecurityContext​(javax.ws.rs.core.SecurityContext context)

      Specified by:
        `setSecurityContext` in interface `javax.ws.rs.container.ContainerRequestContext`
      Overrides:
        `setSecurityContext` in class `PreMatchContainerRequestContext`

    - #### setEntityStream

          public void setEntityStream​(InputStream entityStream)

      Specified by:
        `setEntityStream` in interface `javax.ws.rs.container.ContainerRequestContext`
      Overrides:
        `setEntityStream` in class `PreMatchContainerRequestContext`

    - #### setMethod

          public void setMethod​(String method)

      Specified by:
        `setMethod` in interface `javax.ws.rs.container.ContainerRequestContext`
      Overrides:
        `setMethod` in class `PreMatchContainerRequestContext`

    - #### setRequestUri

          public void setRequestUri​(URI baseUri,
                                    URI requestUri)
                             throws IllegalStateException

      Specified by:
        `setRequestUri` in interface `javax.ws.rs.container.ContainerRequestContext`
      Overrides:
        `setRequestUri` in class `PreMatchContainerRequestContext`
      Throws:
        `IllegalStateException`

    - #### setRequestUri

          public void setRequestUri​(URI requestUri)
                             throws IllegalStateException

      Specified by:
        `setRequestUri` in interface `javax.ws.rs.container.ContainerRequestContext`
      Overrides:
        `setRequestUri` in class `PreMatchContainerRequestContext`
      Throws:
        `IllegalStateException`