Package 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:
jakarta.ws.rs.ext.InterceptorContext
,jakarta.ws.rs.ext.WriterInterceptorContext
public class WriterInterceptorContextImpl
extends AbstractInterceptorContextImpl
implements jakarta.ws.rs.ext.WriterInterceptorContext
-
Field Summary
Fields inherited from class org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
m
-
Constructor Summary
ConstructorsConstructorDescriptionWriterInterceptorContextImpl
(Object entity, Class<?> cls, Type type, Annotation[] anns, OutputStream os, org.apache.cxf.message.Message message, List<jakarta.ws.rs.ext.WriterInterceptor> writers) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.MediaType
void
proceed()
void
void
setMediaType
(jakarta.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
getMessage, 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 jakarta.ws.rs.ext.InterceptorContext
getAnnotations, getGenericType, getProperty, getPropertyNames, getType, removeProperty, setAnnotations, setGenericType, setProperty, setType
-
Constructor Details
-
WriterInterceptorContextImpl
public WriterInterceptorContextImpl(Object entity, Class<?> cls, Type type, Annotation[] anns, OutputStream os, org.apache.cxf.message.Message message, List<jakarta.ws.rs.ext.WriterInterceptor> writers)
-
-
Method Details
-
getEntity
- Specified by:
getEntity
in interfacejakarta.ws.rs.ext.WriterInterceptorContext
-
getHeaders
- Specified by:
getHeaders
in interfacejakarta.ws.rs.ext.WriterInterceptorContext
-
getOutputStream
- Specified by:
getOutputStream
in interfacejakarta.ws.rs.ext.WriterInterceptorContext
-
proceed
- Specified by:
proceed
in interfacejakarta.ws.rs.ext.WriterInterceptorContext
- Throws:
IOException
-
setEntity
- Specified by:
setEntity
in interfacejakarta.ws.rs.ext.WriterInterceptorContext
-
setOutputStream
- Specified by:
setOutputStream
in interfacejakarta.ws.rs.ext.WriterInterceptorContext
-
getMediaType
public jakarta.ws.rs.core.MediaType getMediaType()- Specified by:
getMediaType
in interfacejakarta.ws.rs.ext.InterceptorContext
-
setMediaType
public void setMediaType(jakarta.ws.rs.core.MediaType mt) - Specified by:
setMediaType
in interfacejakarta.ws.rs.ext.InterceptorContext
-