Interface MessageBodyWriterContext
-
- All Known Implementing Classes:
WriterInterceptorRegistry.MessageBodyWriterContextFacade
@Deprecated public interface MessageBodyWriterContextDeprecated.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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.annotation.Annotation[]getAnnotations()Deprecated.java.lang.ObjectgetAttribute(java.lang.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.java.lang.ObjectgetEntity()Deprecated.java.lang.reflect.TypegetGenericType()Deprecated.javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object>getHeaders()Deprecated.javax.ws.rs.core.MediaTypegetMediaType()Deprecated.java.io.OutputStreamgetOutputStream()Deprecated.java.lang.ClassgetType()Deprecated.voidproceed()Deprecated.voidremoveAttribute(java.lang.String name)Deprecated.voidsetAnnotations(java.lang.annotation.Annotation[] annotations)Deprecated.voidsetAttribute(java.lang.String name, java.lang.Object value)Deprecated.voidsetEntity(java.lang.Object entity)Deprecated.voidsetGenericType(java.lang.reflect.Type genericType)Deprecated.voidsetMediaType(javax.ws.rs.core.MediaType mediaType)Deprecated.voidsetOutputStream(java.io.OutputStream os)Deprecated.voidsetType(java.lang.Class type)Deprecated.
-
-
-
Method Detail
-
getEntity
java.lang.Object getEntity()
Deprecated.
-
setEntity
void setEntity(java.lang.Object entity)
Deprecated.
-
getType
java.lang.Class getType()
Deprecated.
-
setType
void setType(java.lang.Class type)
Deprecated.
-
getGenericType
java.lang.reflect.Type getGenericType()
Deprecated.
-
setGenericType
void setGenericType(java.lang.reflect.Type genericType)
Deprecated.
-
getAnnotations
java.lang.annotation.Annotation[] getAnnotations()
Deprecated.
-
setAnnotations
void setAnnotations(java.lang.annotation.Annotation[] annotations)
Deprecated.
-
getMediaType
javax.ws.rs.core.MediaType getMediaType()
Deprecated.
-
setMediaType
void setMediaType(javax.ws.rs.core.MediaType mediaType)
Deprecated.
-
getHeaders
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> getHeaders()
Deprecated.
-
getOutputStream
java.io.OutputStream getOutputStream()
Deprecated.
-
setOutputStream
void setOutputStream(java.io.OutputStream os)
Deprecated.
-
getAttribute
java.lang.Object getAttribute(java.lang.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.- Returns:
-
setAttribute
void setAttribute(java.lang.String name, java.lang.Object value)Deprecated.
-
removeAttribute
void removeAttribute(java.lang.String name)
Deprecated.
-
proceed
void proceed() throws java.io.IOException, javax.ws.rs.WebApplicationExceptionDeprecated.- Throws:
java.io.IOExceptionjavax.ws.rs.WebApplicationException
-
-