Apache CXF API

org.apache.cxf.jaxrs.impl
Class WriterInterceptorContextImpl

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
      extended by org.apache.cxf.jaxrs.impl.AbstractInterceptorContextImpl
          extended by 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


Field Summary
 
Fields inherited from class org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
m
 
Constructor Summary
WriterInterceptorContextImpl(Object entity, Class<?> cls, Type type, Annotation[] anns, OutputStream os, Message message, List<javax.ws.rs.ext.WriterInterceptor> writers)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.apache.cxf.jaxrs.impl.AbstractInterceptorContextImpl
getAnnotations, getGenericType, getType, providerSelectionPropertyChanged, setAnnotations, setGenericType, setType
 
Methods inherited from class org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
getProperty, getPropertyNames, removeProperty, setProperty
 
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
 

Constructor Detail

WriterInterceptorContextImpl

public WriterInterceptorContextImpl(Object entity,
                                    Class<?> cls,
                                    Type type,
                                    Annotation[] anns,
                                    OutputStream os,
                                    Message message,
                                    List<javax.ws.rs.ext.WriterInterceptor> writers)
Method Detail

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 API

Apache CXF