org.jboss.resteasy.core.interception
Class MessageBodyWriterContextImpl
java.lang.Object
org.jboss.resteasy.core.interception.MessageBodyWriterContextImpl
- All Implemented Interfaces:
- MessageBodyWriterContext
public class MessageBodyWriterContextImpl
- extends java.lang.Object
- implements MessageBodyWriterContext
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
interceptors
protected MessageBodyWriterInterceptor[] interceptors
writer
protected MessageBodyWriter writer
entity
protected java.lang.Object entity
type
protected java.lang.Class type
genericType
protected java.lang.reflect.Type genericType
annotations
protected java.lang.annotation.Annotation[] annotations
mediaType
protected MediaType mediaType
headers
protected MultivaluedMap<java.lang.String,java.lang.Object> headers
outputStream
protected java.io.OutputStream outputStream
index
protected int index
MessageBodyWriterContextImpl
public MessageBodyWriterContextImpl(MessageBodyWriterInterceptor[] interceptors,
MessageBodyWriter writer,
java.lang.Object entity,
java.lang.Class type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<java.lang.String,java.lang.Object> headers,
java.io.OutputStream outputStream)
getEntity
public java.lang.Object getEntity()
- Specified by:
getEntity
in interface MessageBodyWriterContext
setEntity
public void setEntity(java.lang.Object entity)
- Specified by:
setEntity
in interface MessageBodyWriterContext
getType
public java.lang.Class getType()
- Specified by:
getType
in interface MessageBodyWriterContext
setType
public void setType(java.lang.Class type)
- Specified by:
setType
in interface MessageBodyWriterContext
getGenericType
public java.lang.reflect.Type getGenericType()
- Specified by:
getGenericType
in interface MessageBodyWriterContext
setGenericType
public void setGenericType(java.lang.reflect.Type genericType)
- Specified by:
setGenericType
in interface MessageBodyWriterContext
getAnnotations
public java.lang.annotation.Annotation[] getAnnotations()
- Specified by:
getAnnotations
in interface MessageBodyWriterContext
setAnnotations
public void setAnnotations(java.lang.annotation.Annotation[] annotations)
- Specified by:
setAnnotations
in interface MessageBodyWriterContext
getMediaType
public MediaType getMediaType()
- Specified by:
getMediaType
in interface MessageBodyWriterContext
setMediaType
public void setMediaType(MediaType mediaType)
- Specified by:
setMediaType
in interface MessageBodyWriterContext
getHeaders
public MultivaluedMap<java.lang.String,java.lang.Object> getHeaders()
- Specified by:
getHeaders
in interface MessageBodyWriterContext
getOutputStream
public java.io.OutputStream getOutputStream()
- Specified by:
getOutputStream
in interface MessageBodyWriterContext
setOutputStream
public void setOutputStream(java.io.OutputStream outputStream)
- Specified by:
setOutputStream
in interface MessageBodyWriterContext
proceed
public void proceed()
throws java.io.IOException,
WebApplicationException
- Specified by:
proceed
in interface MessageBodyWriterContext
- Throws:
java.io.IOException
WebApplicationException
Copyright © 2010. All Rights Reserved.