Interface MessageBodyWriterContext
- All Known Implementing Classes:
WriterInterceptorRegistry.MessageBodyWriterContextFacade
Deprecated.
The Resteasy interceptor facility introduced in release 2.x
is replaced by the JAX-RS 2.0 compliant interceptor facility in release 3.0.x.
- Version:
- $Revision: 1 $
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getAttribute(String attribute) Deprecated.Allows you to pass values back and forth between interceptors On the server side, this is the HttpRequest attributes, on the client side, this is the ClientRequest/ClientResponse attributes.Deprecated.Deprecated.Deprecated.javax.ws.rs.core.MediaTypeDeprecated.Deprecated.getType()Deprecated.voidproceed()Deprecated.voidremoveAttribute(String name) Deprecated.voidsetAnnotations(Annotation[] annotations) Deprecated.voidsetAttribute(String name, Object value) Deprecated.voidDeprecated.voidsetGenericType(Type genericType) Deprecated.voidsetMediaType(javax.ws.rs.core.MediaType mediaType) Deprecated.voidDeprecated.voidDeprecated.
-
Method Details
-
getEntity
Object getEntity()Deprecated. -
setEntity
Deprecated. -
getType
Class getType()Deprecated. -
setType
Deprecated. -
getGenericType
Type getGenericType()Deprecated. -
setGenericType
Deprecated. -
getAnnotations
Annotation[] getAnnotations()Deprecated. -
setAnnotations
Deprecated. -
getMediaType
javax.ws.rs.core.MediaType getMediaType()Deprecated. -
setMediaType
void setMediaType(javax.ws.rs.core.MediaType mediaType) Deprecated. -
getHeaders
Deprecated. -
getOutputStream
OutputStream getOutputStream()Deprecated. -
setOutputStream
Deprecated. -
getAttribute
Deprecated.Allows you to pass values back and forth between interceptors On the server side, this is the HttpRequest attributes, on the client side, this is the ClientRequest/ClientResponse attributes.- Returns:
-
setAttribute
Deprecated. -
removeAttribute
Deprecated. -
proceed
Deprecated.- Throws:
IOExceptionjavax.ws.rs.WebApplicationException
-