public abstract class AbstractRequestContext extends AbstractRequest implements RequestContext
RequestContext.Property, RequestContext.ScopeNOCACHE, NOSTORE, NOTRANSFORM, ONLYIFCACHED, PRIVATE, PROXYREVALIDATE, PUBLIC, REVALIDATE| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
absoluteUrlFor(java.lang.Object key,
java.lang.Object param)
Construct an absolute URL using the Provider's Target Builder.
|
Abdera |
getAbdera()
Get the Abdera instance associated with this request
|
IRI |
getBaseUri()
Get the absolute base URI ...
|
<T extends Element> |
getDocument()
Use the Abdera Parser to parse the request entity as an XML document
|
<T extends Element> |
getDocument(org.apache.abdera.parser.Parser parser)
Use the Abdera Parser to parse the request entity as an XML document
|
<T extends Element> |
getDocument(org.apache.abdera.parser.ParserOptions options)
Use the Abdera Parser to parse the request entity as an XML document
|
<T extends Element> |
getDocument(org.apache.abdera.parser.Parser parser,
org.apache.abdera.parser.ParserOptions options)
Use the Abdera Parser to parse the request entity as an XML document
|
java.lang.String |
getMethod()
Get the HTTP method
|
java.security.Principal |
getPrincipal()
Get this requests authenticated Principal object
|
Provider |
getProvider()
Get the Provider associated with this request
|
IRI |
getResolvedUri()
Get the absolute request URI (includes server name, port, etc)
|
javax.security.auth.Subject |
getSubject()
Get this requests resolved Subject
|
Target |
getTarget()
Get this requests resolved Target
|
java.lang.String |
getTargetPath()
Returns the subset of the request URI that is to be used to resolve the Target
(everything after the context path)
|
IRI |
getUri()
Get the request URI
|
boolean |
isAtom() |
RequestContext |
setAttribute(java.lang.String name,
java.lang.Object value)
Set the named attribute in the request scope
|
java.lang.String |
urlFor(java.lang.Object key,
java.lang.Object param)
Construct a URL using the Provider's Target Builder
|
getAccept, getAcceptCharset, getAcceptEncoding, getAcceptLanguage, getAuthorization, getIfMatch, getIfModifiedSince, getIfNoneMatch, getIfUnmodifiedSince, getMaxStale, getMinFresh, isOnlyIfCached, setMaxAge, setMaxStale, setMinFresh, setNoCache, setNoStore, setNoTransform, setOnlyIfCachedgetCacheControl, getContentLanguage, getContentLocation, getContentType, getDecodedHeader, getDecodedHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransformequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, getAttributeNames, getContextPath, getInputStream, getParameter, getParameterNames, getParameters, getPreferredLocale, getPreferredLocales, getProperty, getReader, getTargetBasePath, isUserInRole, setAttributegetAccept, getAcceptCharset, getAcceptEncoding, getAcceptLanguage, getAuthorization, getIfMatch, getIfModifiedSince, getIfNoneMatch, getIfUnmodifiedSince, getMaxStale, getMinFresh, isOnlyIfCachedgetCacheControl, getContentLanguage, getContentLocation, getContentType, getDateHeader, getDecodedHeader, getDecodedHeaders, getHeader, getHeaderNames, getHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransformpublic Abdera getAbdera()
RequestContextgetAbdera in interface RequestContextpublic <T extends Element> Document<T> getDocument() throws org.apache.abdera.parser.ParseException, java.io.IOException
RequestContextgetDocument in interface RequestContextorg.apache.abdera.parser.ParseExceptionjava.io.IOExceptionpublic <T extends Element> Document<T> getDocument(org.apache.abdera.parser.Parser parser) throws org.apache.abdera.parser.ParseException, java.io.IOException
RequestContextgetDocument in interface RequestContextorg.apache.abdera.parser.ParseExceptionjava.io.IOExceptionpublic <T extends Element> Document<T> getDocument(org.apache.abdera.parser.ParserOptions options) throws org.apache.abdera.parser.ParseException, java.io.IOException
RequestContextgetDocument in interface RequestContextorg.apache.abdera.parser.ParseExceptionjava.io.IOExceptionpublic <T extends Element> Document<T> getDocument(org.apache.abdera.parser.Parser parser, org.apache.abdera.parser.ParserOptions options) throws org.apache.abdera.parser.ParseException, java.io.IOException
RequestContextgetDocument in interface RequestContextorg.apache.abdera.parser.ParseExceptionjava.io.IOExceptionpublic IRI getBaseUri()
RequestContextgetBaseUri in interface RequestContextpublic IRI getResolvedUri()
RequestContextgetResolvedUri in interface RequestContextpublic java.lang.String getMethod()
RequestContextgetMethod in interface RequestContextpublic IRI getUri()
RequestContextgetUri in interface RequestContextpublic javax.security.auth.Subject getSubject()
RequestContextgetSubject in interface RequestContextpublic java.security.Principal getPrincipal()
RequestContextgetPrincipal in interface RequestContextpublic Target getTarget()
RequestContextgetTarget in interface RequestContextpublic Provider getProvider()
RequestContextgetProvider in interface RequestContextpublic java.lang.String getTargetPath()
RequestContextgetTargetPath in interface RequestContextpublic RequestContext setAttribute(java.lang.String name, java.lang.Object value)
RequestContextsetAttribute in interface RequestContextpublic java.lang.String urlFor(java.lang.Object key,
java.lang.Object param)
RequestContexturlFor in interface RequestContextpublic java.lang.String absoluteUrlFor(java.lang.Object key,
java.lang.Object param)
RequestContextabsoluteUrlFor in interface RequestContextpublic boolean isAtom()
isAtom in interface RequestContextCopyright © 2010 - 2019 Adobe. All Rights Reserved