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 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) voidremoveProperty(String name) protected javax.ws.rs.ext.MessageBodyWritervoidsetProperty(String name, Object object) (package private) voidprotected voidwriteTo(javax.ws.rs.ext.MessageBodyWriter writer) Methods inherited from class 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:
resolveWriterin classAbstractWriterInterceptorContext
-
throwWriterNotFoundException
void throwWriterNotFoundException()- Specified by:
throwWriterNotFoundExceptionin classAbstractWriterInterceptorContext
-
getProperty
-
writeTo
- Overrides:
writeToin classAbstractWriterInterceptorContext- Throws:
IOException
-
getPropertyNames
-
setProperty
-
removeProperty
-