Class ServerWriterInterceptorContext
java.lang.Object
org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext
org.jboss.resteasy.core.interception.ServerWriterInterceptorContext
- All Implemented Interfaces:
javax.ws.rs.ext.InterceptorContext
,javax.ws.rs.ext.WriterInterceptorContext
- Version:
- $Revision: 1 $
-
Field Summary
FieldsFields inherited from class org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext
annotations, entity, genericType, headers, index, interceptors, mediaType, outputStream, providerFactory, type
-
Constructor Summary
ConstructorsConstructorDescriptionServerWriterInterceptorContext
(javax.ws.rs.ext.WriterInterceptor[] interceptors, ResteasyProviderFactory providerFactory, Object entity, Class type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String, Object> headers, OutputStream outputStream, HttpRequest request) -
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String name) void
removeProperty
(String name) protected javax.ws.rs.ext.MessageBodyWriter
void
setProperty
(String name, Object object) (package private) void
protected void
writeTo
(javax.ws.rs.ext.MessageBodyWriter writer) Methods inherited from class org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext
getAnnotations, getEntity, getGenericType, getHeaders, getMediaType, getOutputStream, getType, getWriter, proceed, setAnnotations, setEntity, setGenericType, setMediaType, setOutputStream, setType
-
Field Details
-
request
-
-
Constructor Details
-
ServerWriterInterceptorContext
public ServerWriterInterceptorContext(javax.ws.rs.ext.WriterInterceptor[] interceptors, ResteasyProviderFactory providerFactory, Object entity, Class type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String, Object> headers, OutputStream outputStream, HttpRequest request)
-
-
Method Details
-
resolveWriter
protected javax.ws.rs.ext.MessageBodyWriter resolveWriter()- Specified by:
resolveWriter
in classAbstractWriterInterceptorContext
-
throwWriterNotFoundException
void throwWriterNotFoundException()- Specified by:
throwWriterNotFoundException
in classAbstractWriterInterceptorContext
-
getProperty
-
writeTo
- Overrides:
writeTo
in classAbstractWriterInterceptorContext
- Throws:
IOException
-
getPropertyNames
-
setProperty
-
removeProperty
-