org.apache.cxf.jaxrs.impl
Class WriterInterceptorContextImpl
java.lang.Object
org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
org.apache.cxf.jaxrs.impl.AbstractInterceptorContextImpl
org.apache.cxf.jaxrs.impl.WriterInterceptorContextImpl
- All Implemented Interfaces:
- javax.ws.rs.ext.InterceptorContext, javax.ws.rs.ext.WriterInterceptorContext
public class WriterInterceptorContextImpl
- extends AbstractInterceptorContextImpl
- implements javax.ws.rs.ext.WriterInterceptorContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.ws.rs.ext.InterceptorContext |
getAnnotations, getGenericType, getProperty, getPropertyNames, getType, removeProperty, setAnnotations, setGenericType, setProperty, setType |
WriterInterceptorContextImpl
public WriterInterceptorContextImpl(Object entity,
Class<?> cls,
Type type,
Annotation[] anns,
OutputStream os,
Message message,
List<javax.ws.rs.ext.WriterInterceptor> writers)
getEntity
public Object getEntity()
- Specified by:
getEntity
in interface javax.ws.rs.ext.WriterInterceptorContext
getHeaders
public javax.ws.rs.core.MultivaluedMap<String,Object> getHeaders()
- Specified by:
getHeaders
in interface javax.ws.rs.ext.WriterInterceptorContext
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStream
in interface javax.ws.rs.ext.WriterInterceptorContext
proceed
public void proceed()
throws IOException
- Specified by:
proceed
in interface javax.ws.rs.ext.WriterInterceptorContext
- Throws:
IOException
setEntity
public void setEntity(Object object)
- Specified by:
setEntity
in interface javax.ws.rs.ext.WriterInterceptorContext
setOutputStream
public void setOutputStream(OutputStream stream)
- Specified by:
setOutputStream
in interface javax.ws.rs.ext.WriterInterceptorContext
getMediaType
public javax.ws.rs.core.MediaType getMediaType()
- Specified by:
getMediaType
in interface javax.ws.rs.ext.InterceptorContext
setMediaType
public void setMediaType(javax.ws.rs.core.MediaType mt)
- Specified by:
setMediaType
in interface javax.ws.rs.ext.InterceptorContext
Apache CXF