Interface MessageBodyWriterContext

All Known Implementing Classes:
WriterInterceptorRegistry.MessageBodyWriterContextFacade

@Deprecated public interface MessageBodyWriterContext
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 Details

    • getEntity

      Object getEntity()
      Deprecated.
    • setEntity

      void setEntity(Object entity)
      Deprecated.
    • getType

      Class getType()
      Deprecated.
    • setType

      void setType(Class type)
      Deprecated.
    • getGenericType

      Type getGenericType()
      Deprecated.
    • setGenericType

      void setGenericType(Type genericType)
      Deprecated.
    • getAnnotations

      Annotation[] getAnnotations()
      Deprecated.
    • setAnnotations

      void setAnnotations(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<String,Object> getHeaders()
      Deprecated.
    • getOutputStream

      OutputStream getOutputStream()
      Deprecated.
    • setOutputStream

      void setOutputStream(OutputStream os)
      Deprecated.
    • getAttribute

      Object 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.
      Returns:
    • setAttribute

      void setAttribute(String name, Object value)
      Deprecated.
    • removeAttribute

      void removeAttribute(String name)
      Deprecated.
    • proceed

      void proceed() throws IOException, javax.ws.rs.WebApplicationException
      Deprecated.
      Throws:
      IOException
      javax.ws.rs.WebApplicationException