public class WriterInterceptorContextImpl extends AbstractInterceptorContextImpl implements javax.ws.rs.ext.WriterInterceptorContext
m
Constructor and Description |
---|
WriterInterceptorContextImpl(Object entity,
Class<?> cls,
Type type,
Annotation[] anns,
OutputStream os,
Message message,
List<javax.ws.rs.ext.WriterInterceptor> writers) |
Modifier and Type | Method and Description |
---|---|
Object |
getEntity() |
javax.ws.rs.core.MultivaluedMap<String,Object> |
getHeaders() |
javax.ws.rs.core.MediaType |
getMediaType() |
OutputStream |
getOutputStream() |
void |
proceed() |
void |
setEntity(Object object) |
void |
setMediaType(javax.ws.rs.core.MediaType mt) |
void |
setOutputStream(OutputStream stream) |
getAnnotations, getGenericType, getType, providerSelectionPropertyChanged, setAnnotations, setGenericType, setType
getMessage, getProperty, getPropertyNames, removeProperty, setProperty
public WriterInterceptorContextImpl(Object entity, Class<?> cls, Type type, Annotation[] anns, OutputStream os, Message message, List<javax.ws.rs.ext.WriterInterceptor> writers)
public Object getEntity()
getEntity
in interface javax.ws.rs.ext.WriterInterceptorContext
public javax.ws.rs.core.MultivaluedMap<String,Object> getHeaders()
getHeaders
in interface javax.ws.rs.ext.WriterInterceptorContext
public OutputStream getOutputStream()
getOutputStream
in interface javax.ws.rs.ext.WriterInterceptorContext
public void proceed() throws IOException
proceed
in interface javax.ws.rs.ext.WriterInterceptorContext
IOException
public void setEntity(Object object)
setEntity
in interface javax.ws.rs.ext.WriterInterceptorContext
public void setOutputStream(OutputStream stream)
setOutputStream
in interface javax.ws.rs.ext.WriterInterceptorContext
public javax.ws.rs.core.MediaType getMediaType()
getMediaType
in interface javax.ws.rs.ext.InterceptorContext
public void setMediaType(javax.ws.rs.core.MediaType mt)
setMediaType
in interface javax.ws.rs.ext.InterceptorContext
Apache CXF