@Deprecated public interface MessageBodyWriterContext
Modifier and Type | Method and Description |
---|---|
Annotation[] |
getAnnotations()
Deprecated.
|
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.
|
Object |
getEntity()
Deprecated.
|
Type |
getGenericType()
Deprecated.
|
javax.ws.rs.core.MultivaluedMap<String,Object> |
getHeaders()
Deprecated.
|
javax.ws.rs.core.MediaType |
getMediaType()
Deprecated.
|
OutputStream |
getOutputStream()
Deprecated.
|
Class |
getType()
Deprecated.
|
void |
proceed()
Deprecated.
|
void |
removeAttribute(String name)
Deprecated.
|
void |
setAnnotations(Annotation[] annotations)
Deprecated.
|
void |
setAttribute(String name,
Object value)
Deprecated.
|
void |
setEntity(Object entity)
Deprecated.
|
void |
setGenericType(Type genericType)
Deprecated.
|
void |
setMediaType(javax.ws.rs.core.MediaType mediaType)
Deprecated.
|
void |
setOutputStream(OutputStream os)
Deprecated.
|
void |
setType(Class type)
Deprecated.
|
Object getEntity()
void setEntity(Object entity)
Class getType()
void setType(Class type)
Type getGenericType()
void setGenericType(Type genericType)
Annotation[] getAnnotations()
void setAnnotations(Annotation[] annotations)
javax.ws.rs.core.MediaType getMediaType()
void setMediaType(javax.ws.rs.core.MediaType mediaType)
OutputStream getOutputStream()
void setOutputStream(OutputStream os)
Object getAttribute(String attribute)
void removeAttribute(String name)
void proceed() throws IOException, javax.ws.rs.WebApplicationException
IOException
javax.ws.rs.WebApplicationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.