org.apache.abdera.ext.serializer
Class ObjectResponseContext
java.lang.Object
org.apache.abdera.protocol.util.AbstractMessage
org.apache.abdera.protocol.util.AbstractResponse
org.apache.abdera.protocol.server.context.AbstractResponseContext
org.apache.abdera.protocol.server.context.SimpleResponseContext
org.apache.abdera.protocol.server.context.StreamWriterResponseContext
org.apache.abdera.ext.serializer.ObjectResponseContext
- All Implemented Interfaces:
- Message, Response, ResponseContext, ProtocolConstants
public class ObjectResponseContext
- extends StreamWriterResponseContext
Constructor Summary |
ObjectResponseContext(Object object,
Abdera abdera)
|
ObjectResponseContext(Object object,
Abdera abdera,
String encoding)
|
ObjectResponseContext(Object object,
Abdera abdera,
String encoding,
String sw)
|
ObjectResponseContext(Object object,
Class<? extends SerializationContext> context,
Conventions conventions,
Abdera abdera)
|
ObjectResponseContext(Object object,
Class<? extends SerializationContext> context,
Conventions conventions,
Abdera abdera,
String encoding)
|
ObjectResponseContext(Object object,
Class<? extends SerializationContext> context,
Conventions conventions,
Abdera abdera,
String encoding,
String sw)
|
Methods inherited from class org.apache.abdera.protocol.server.context.AbstractResponseContext |
addEncodedHeader, addEncodedHeaders, addHeader, addHeaders, getCacheControl, getDateHeader, getHeader, getHeaderNames, getHeaders, getHeaders, getStatus, getStatusText, isBinary, removeHeader, setAge, setAllow, setAllow, setBinary, setContentLanguage, setContentLength, setContentLocation, setContentType, setContentType, setEncodedHeader, setEncodedHeader, setEntityTag, setEntityTag, setEscapedHeader, setExpires, setHeader, setHeader, setLastModified, setLocation, setSlug, setStatus, setStatusText, setWriter |
Methods inherited from class org.apache.abdera.protocol.util.AbstractResponse |
getAge, getAllow, getContentLength, getEntityTag, getExpires, getLastModified, getLocation, getNoCacheHeaders, getPrivateHeaders, getSMaxAge, getType, isMustRevalidate, isPrivate, isProxyRevalidate, isPublic, setMaxAge, setMustRevalidate, setNoCache, setNoCacheHeaders, setNoStore, setNoTransform, setPrivate, setPrivateHeaders, setProxyRevalidate, setPublic |
Methods inherited from class org.apache.abdera.protocol.util.AbstractMessage |
check, getContentLanguage, getContentLocation, getContentType, getDecodedHeader, getDecodedHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransform, toggle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.abdera.protocol.Response |
getAge, getAllow, getContentLength, getEntityTag, getExpires, getLastModified, getLocation, getNoCacheHeaders, getPrivateHeaders, getSMaxAge, getType, isMustRevalidate, isPrivate, isProxyRevalidate, isPublic |
ObjectResponseContext
public ObjectResponseContext(Object object,
Abdera abdera,
String encoding,
String sw)
ObjectResponseContext
public ObjectResponseContext(Object object,
Class<? extends SerializationContext> context,
Conventions conventions,
Abdera abdera,
String encoding,
String sw)
ObjectResponseContext
public ObjectResponseContext(Object object,
Abdera abdera,
String encoding)
ObjectResponseContext
public ObjectResponseContext(Object object,
Class<? extends SerializationContext> context,
Conventions conventions,
Abdera abdera,
String encoding)
ObjectResponseContext
public ObjectResponseContext(Object object,
Abdera abdera)
ObjectResponseContext
public ObjectResponseContext(Object object,
Class<? extends SerializationContext> context,
Conventions conventions,
Abdera abdera)
writeTo
protected void writeTo(StreamWriter sw)
throws IOException
- Description copied from class:
StreamWriterResponseContext
- Write to the specified StreamWriter. Subclasses of this class must implement this method.
- Specified by:
writeTo
in class StreamWriterResponseContext
- Throws:
IOException
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.