org.jboss.resteasy.core.interception
Class ResponseContainerRequestContext

java.lang.Object
  extended by org.jboss.resteasy.core.interception.PreMatchContainerRequestContext
      extended by org.jboss.resteasy.core.interception.ResponseContainerRequestContext
All Implemented Interfaces:
ContainerRequestContext

public class ResponseContainerRequestContext
extends PreMatchContainerRequestContext

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
 
Fields inherited from class org.jboss.resteasy.core.interception.PreMatchContainerRequestContext
httpRequest, response
 
Constructor Summary
ResponseContainerRequestContext(HttpRequest request)
           
 
Method Summary
 void abortWith(Response response)
          Abort the filter chain with a response.
 
Methods inherited from class org.jboss.resteasy.core.interception.PreMatchContainerRequestContext
getAcceptableLanguages, getAcceptableMediaTypes, getCookies, getDate, getEntityStream, getHeaders, getHeaderString, getHttpRequest, getLanguage, getLength, getMediaType, getMethod, getProperty, getPropertyNames, getRequest, getResponseAbortedWith, getSecurityContext, getUriInfo, hasEntity, removeProperty, setEntityStream, setMethod, setProperty, setRequestUri, setRequestUri, setSecurityContext
 
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(Response response)
Description copied from interface: ContainerRequestContext
Abort the filter chain with a response. This method breaks the filter chain processing and returns the provided response back to the client. The provided response goes through the chain of applicable response filters.

Specified by:
abortWith in interface ContainerRequestContext
Overrides:
abortWith in class PreMatchContainerRequestContext
Parameters:
response - response to be sent back to the client.


Copyright © 2013. All Rights Reserved.