public class OMElementResponseContext
extends org.apache.abdera.protocol.server.context.SimpleResponseContext
SimpleResponseContext in Abdera. This is used in Dump
requests.encodingbinary, EMPTY, headers, status, status_text, writer| Constructor and Description |
|---|
OMElementResponseContext(Registry registry,
String path)
Creates response context.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasEntity()
Whether the response contains an entity.
|
protected void |
writeEntity(Writer writer)
Method to dump the registry content in to the writer.
|
getEncoding, setEncoding, writeTo, writeTo, writeTo, writeToaddEncodedHeader, 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, setWritergetAge, getAllow, getContentLength, getEntityTag, getExpires, getLastModified, getLocation, getNoCacheHeaders, getPrivateHeaders, getSMaxAge, getType, isMustRevalidate, isPrivate, isProxyRevalidate, isPublic, setMaxAge, setMustRevalidate, setNoCache, setNoCacheHeaders, setNoStore, setNoTransform, setPrivate, setPrivateHeaders, setProxyRevalidate, setPubliccheck, getContentLanguage, getContentLocation, getContentType, getDecodedHeader, getDecodedHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransform, toggleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected void writeEntity(Writer writer) throws IOException
writeEntity in class org.apache.abdera.protocol.server.context.SimpleResponseContextwriter - the Writer connected to the HTTP responseIOException - if an error occurred.public boolean hasEntity()
Copyright © 2016 WSO2 Inc. All Rights Reserved.