Class StreamWriterResponseContext
- 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
-
- All Implemented Interfaces:
Message,Response,ResponseContext,ProtocolConstants
- Direct Known Subclasses:
EntityProviderResponseContext
@Deprecated public abstract class StreamWriterResponseContext extends SimpleResponseContext
Deprecated.Legacy AEM 6.x API.Abstract base class for creating ResponseContext implementations that use the StreamWriter interface. Using the StreamWriter to write out documents is significantly faster than using the object model but requires developers to know more about proper Atom syntax.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.abdera.protocol.Response
Response.ResponseType
-
-
Field Summary
-
Fields inherited from interface org.apache.abdera.protocol.util.ProtocolConstants
NOCACHE, NOSTORE, NOTRANSFORM, ONLYIFCACHED, PRIVATE, PROXYREVALIDATE, PUBLIC, REVALIDATE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleangetAutoIndent()Deprecated.True if automatic indenting is enabled on the StreamWriterbooleanhasEntity()Deprecated.True if the response contains an entityStreamWriterResponseContextsetAutoIndent(boolean autoindent)Deprecated.True to enable automatic indenting on the StreamWriter-
Methods inherited from class org.apache.abdera.protocol.server.context.SimpleResponseContext
writeTo, writeTo, writeTo, writeTo
-
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
getContentLanguage, getContentLocation, getContentType, getDecodedHeader, getDecodedHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransform
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.abdera.protocol.Message
getContentLanguage, getContentLocation, getContentType, getDecodedHeader, getDecodedHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransform
-
Methods inherited from interface org.apache.abdera.protocol.Response
getAge, getAllow, getContentLength, getEntityTag, getExpires, getLastModified, getLocation, getNoCacheHeaders, getPrivateHeaders, getSMaxAge, getType, isMustRevalidate, isPrivate, isProxyRevalidate, isPublic
-
-
-
-
Method Detail
-
setAutoIndent
public StreamWriterResponseContext setAutoIndent(boolean autoindent)
Deprecated.True to enable automatic indenting on the StreamWriter
-
getAutoIndent
public boolean getAutoIndent()
Deprecated.True if automatic indenting is enabled on the StreamWriter
-
hasEntity
public boolean hasEntity()
Deprecated.Description copied from interface:ResponseContextTrue if the response contains an entity
-
-