@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.
|
MultivaluedMap<String,Object> |
getHeaders()
Deprecated.
|
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(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)
MediaType getMediaType()
void setMediaType(MediaType mediaType)
MultivaluedMap<String,Object> getHeaders()
OutputStream getOutputStream()
void setOutputStream(OutputStream os)
Object getAttribute(String attribute)
void removeAttribute(String name)
void proceed() throws IOException, WebApplicationException
IOException
WebApplicationException
Copyright © 2019 JBoss by Red Hat. All rights reserved.