org.apache.abdera.protocol.server.provider
Class AbstractRequestContext
java.lang.Object
org.apache.abdera.protocol.util.AbstractRequest
org.apache.abdera.protocol.server.provider.AbstractRequestContext
- All Implemented Interfaces:
- Request, RequestContext, ProtocolConstants
- Direct Known Subclasses:
- HttpServletRequestContext
public abstract class AbstractRequestContext
- extends AbstractRequest
- implements RequestContext
Methods inherited from class org.apache.abdera.protocol.util.AbstractRequest |
getAccept, getAcceptCharset, getAcceptEncoding, getAcceptLanguage, getAuthorization, getCacheControl, getContentType, getDecodedHeader, getDecodedHeaders, getIfMatch, getIfModifiedSince, getIfNoneMatch, getIfUnmodifiedSince, getMaxAge, getMaxStale, getMinFresh, getSlug, isNoCache, isNoStore, isNoTransform, isOnlyIfCached, setMaxAge, setMaxStale, setMinFresh, setNoCache, setNoStore, setNoTransform, setOnlyIfCached |
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.Request |
getAccept, getAcceptCharset, getAcceptEncoding, getAcceptLanguage, getAuthorization, getCacheControl, getContentType, getDateHeader, getDecodedHeader, getDecodedHeaders, getHeader, getHeaderNames, getHeaders, getIfMatch, getIfModifiedSince, getIfNoneMatch, getIfUnmodifiedSince, getMaxAge, getMaxStale, getMinFresh, getSlug, isNoCache, isNoStore, isNoTransform, isOnlyIfCached |
context
protected final ServiceContext context
subject
protected javax.security.auth.Subject subject
target
protected Target target
method
protected final java.lang.String method
requestUri
protected final IRI requestUri
baseUri
protected final IRI baseUri
document
protected Document document
AbstractRequestContext
protected AbstractRequestContext(ServiceContext context,
java.lang.String method,
IRI requestUri,
IRI baseUri)
getDocument
public <T extends Element> Document<T> getDocument()
throws ParseException,
java.io.IOException
- Specified by:
getDocument
in interface RequestContext
- Throws:
ParseException
java.io.IOException
getDocument
public <T extends Element> Document<T> getDocument(Parser parser)
throws ParseException,
java.io.IOException
- Specified by:
getDocument
in interface RequestContext
- Throws:
ParseException
java.io.IOException
getDocument
public <T extends Element> Document<T> getDocument(ParserOptions options)
throws ParseException,
java.io.IOException
- Specified by:
getDocument
in interface RequestContext
- Throws:
ParseException
java.io.IOException
getDocument
public <T extends Element> Document<T> getDocument(Parser parser,
ParserOptions options)
throws ParseException,
java.io.IOException
- Specified by:
getDocument
in interface RequestContext
- Throws:
ParseException
java.io.IOException
getBaseUri
public IRI getBaseUri()
- Specified by:
getBaseUri
in interface RequestContext
getResolvedUri
public IRI getResolvedUri()
- Specified by:
getResolvedUri
in interface RequestContext
getMethod
public java.lang.String getMethod()
- Specified by:
getMethod
in interface RequestContext
getUri
public IRI getUri()
- Specified by:
getUri
in interface RequestContext
getSubject
public javax.security.auth.Subject getSubject()
- Specified by:
getSubject
in interface RequestContext
getTarget
public Target getTarget()
- Specified by:
getTarget
in interface RequestContext
getServiceContext
public ServiceContext getServiceContext()
- Specified by:
getServiceContext
in interface RequestContext