org.jboss.resteasy.core.interception
Class ResponseContainerRequestContext
java.lang.Object
org.jboss.resteasy.core.interception.PreMatchContainerRequestContext
org.jboss.resteasy.core.interception.ResponseContainerRequestContext
- All Implemented Interfaces:
- ContainerRequestContext
public class ResponseContainerRequestContext
- extends PreMatchContainerRequestContext
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
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 |
ResponseContainerRequestContext
public ResponseContainerRequestContext(HttpRequest request)
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.