Class AbstractRequestContext
- java.lang.Object
-
- org.apache.abdera.protocol.util.AbstractMessage
-
- org.apache.abdera.protocol.util.AbstractRequest
-
- org.apache.abdera.protocol.server.context.AbstractRequestContext
-
- All Implemented Interfaces:
Message,Request,RequestContext,ProtocolConstants
- Direct Known Subclasses:
ServletRequestContext
@Deprecated public abstract class AbstractRequestContext extends AbstractRequest implements RequestContext
Deprecated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.abdera.protocol.server.RequestContext
RequestContext.Property, RequestContext.Scope
-
-
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 StringabsoluteUrlFor(Object key, Object param)Deprecated.Construct an absolute URL using the Provider's Target Builder.org.apache.abdera.AbderagetAbdera()Deprecated.Get the Abdera instance associated with this requestorg.apache.abdera.i18n.iri.IRIgetBaseUri()Deprecated.Get the absolute base URI ...<T extends org.apache.abdera.model.Element>
org.apache.abdera.model.Document<T>getDocument()Deprecated.Use the Abdera Parser to parse the request entity as an XML document<T extends org.apache.abdera.model.Element>
org.apache.abdera.model.Document<T>getDocument(org.apache.abdera.parser.Parser parser)Deprecated.Use the Abdera Parser to parse the request entity as an XML document<T extends org.apache.abdera.model.Element>
org.apache.abdera.model.Document<T>getDocument(org.apache.abdera.parser.ParserOptions options)Deprecated.Use the Abdera Parser to parse the request entity as an XML document<T extends org.apache.abdera.model.Element>
org.apache.abdera.model.Document<T>getDocument(org.apache.abdera.parser.Parser parser, org.apache.abdera.parser.ParserOptions options)Deprecated.Use the Abdera Parser to parse the request entity as an XML documentStringgetMethod()Deprecated.Get the HTTP methodPrincipalgetPrincipal()Deprecated.Get this requests authenticated Principal objectProvidergetProvider()Deprecated.Get the Provider associated with this requestorg.apache.abdera.i18n.iri.IRIgetResolvedUri()Deprecated.Get the absolute request URI (includes server name, port, etc)SubjectgetSubject()Deprecated.Get this requests resolved SubjectTargetgetTarget()Deprecated.Get this requests resolved TargetStringgetTargetPath()Deprecated.Returns the subset of the request URI that is to be used to resolve the Target (everything after the context path)org.apache.abdera.i18n.iri.IRIgetUri()Deprecated.Get the request URIbooleanisAtom()Deprecated.RequestContextsetAttribute(String name, Object value)Deprecated.Set the named attribute in the request scopeStringurlFor(Object key, Object param)Deprecated.Construct a URL using the Provider's Target Builder-
Methods inherited from class org.apache.abdera.protocol.util.AbstractRequest
getAccept, getAcceptCharset, getAcceptEncoding, getAcceptLanguage, getAuthorization, getIfMatch, getIfModifiedSince, getIfNoneMatch, getIfUnmodifiedSince, getMaxStale, getMinFresh, isOnlyIfCached, setMaxAge, setMaxStale, setMinFresh, setNoCache, setNoStore, setNoTransform, setOnlyIfCached
-
Methods inherited from class org.apache.abdera.protocol.util.AbstractMessage
getCacheControl, 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
getCacheControl, getContentLanguage, getContentLocation, getContentType, getDateHeader, getDecodedHeader, getDecodedHeaders, getHeader, getHeaderNames, getHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransform
-
Methods inherited from interface org.apache.abdera.protocol.Request
getAccept, getAcceptCharset, getAcceptEncoding, getAcceptLanguage, getAuthorization, getIfMatch, getIfModifiedSince, getIfNoneMatch, getIfUnmodifiedSince, getMaxStale, getMinFresh, isOnlyIfCached
-
Methods inherited from interface org.apache.abdera.protocol.server.RequestContext
getAttribute, getAttributeNames, getContextPath, getInputStream, getParameter, getParameterNames, getParameters, getPreferredLocale, getPreferredLocales, getProperty, getReader, getTargetBasePath, isUserInRole, setAttribute
-
-
-
-
Method Detail
-
getAbdera
public org.apache.abdera.Abdera getAbdera()
Deprecated.Description copied from interface:RequestContextGet the Abdera instance associated with this request- Specified by:
getAbderain interfaceRequestContext
-
getDocument
public <T extends org.apache.abdera.model.Element> org.apache.abdera.model.Document<T> getDocument() throws org.apache.abdera.parser.ParseException, IOExceptionDeprecated.Description copied from interface:RequestContextUse the Abdera Parser to parse the request entity as an XML document- Specified by:
getDocumentin interfaceRequestContext- Throws:
org.apache.abdera.parser.ParseExceptionIOException
-
getDocument
public <T extends org.apache.abdera.model.Element> org.apache.abdera.model.Document<T> getDocument(org.apache.abdera.parser.Parser parser) throws org.apache.abdera.parser.ParseException, IOExceptionDeprecated.Description copied from interface:RequestContextUse the Abdera Parser to parse the request entity as an XML document- Specified by:
getDocumentin interfaceRequestContext- Throws:
org.apache.abdera.parser.ParseExceptionIOException
-
getDocument
public <T extends org.apache.abdera.model.Element> org.apache.abdera.model.Document<T> getDocument(org.apache.abdera.parser.ParserOptions options) throws org.apache.abdera.parser.ParseException, IOExceptionDeprecated.Description copied from interface:RequestContextUse the Abdera Parser to parse the request entity as an XML document- Specified by:
getDocumentin interfaceRequestContext- Throws:
org.apache.abdera.parser.ParseExceptionIOException
-
getDocument
public <T extends org.apache.abdera.model.Element> org.apache.abdera.model.Document<T> getDocument(org.apache.abdera.parser.Parser parser, org.apache.abdera.parser.ParserOptions options) throws org.apache.abdera.parser.ParseException, IOExceptionDeprecated.Description copied from interface:RequestContextUse the Abdera Parser to parse the request entity as an XML document- Specified by:
getDocumentin interfaceRequestContext- Throws:
org.apache.abdera.parser.ParseExceptionIOException
-
getBaseUri
public org.apache.abdera.i18n.iri.IRI getBaseUri()
Deprecated.Description copied from interface:RequestContextGet the absolute base URI ... this is the request URI up to the Context Path of the web application within which the Abdera Servlet is deployed- Specified by:
getBaseUriin interfaceRequestContext
-
getResolvedUri
public org.apache.abdera.i18n.iri.IRI getResolvedUri()
Deprecated.Description copied from interface:RequestContextGet the absolute request URI (includes server name, port, etc)- Specified by:
getResolvedUriin interfaceRequestContext
-
getMethod
public String getMethod()
Deprecated.Description copied from interface:RequestContextGet the HTTP method- Specified by:
getMethodin interfaceRequestContext
-
getUri
public org.apache.abdera.i18n.iri.IRI getUri()
Deprecated.Description copied from interface:RequestContextGet the request URI- Specified by:
getUriin interfaceRequestContext
-
getSubject
public Subject getSubject()
Deprecated.Description copied from interface:RequestContextGet this requests resolved Subject- Specified by:
getSubjectin interfaceRequestContext
-
getPrincipal
public Principal getPrincipal()
Deprecated.Description copied from interface:RequestContextGet this requests authenticated Principal object- Specified by:
getPrincipalin interfaceRequestContext
-
getTarget
public Target getTarget()
Deprecated.Description copied from interface:RequestContextGet this requests resolved Target- Specified by:
getTargetin interfaceRequestContext
-
getProvider
public Provider getProvider()
Deprecated.Description copied from interface:RequestContextGet the Provider associated with this request- Specified by:
getProviderin interfaceRequestContext
-
getTargetPath
public String getTargetPath()
Deprecated.Description copied from interface:RequestContextReturns the subset of the request URI that is to be used to resolve the Target (everything after the context path)- Specified by:
getTargetPathin interfaceRequestContext
-
setAttribute
public RequestContext setAttribute(String name, Object value)
Deprecated.Description copied from interface:RequestContextSet the named attribute in the request scope- Specified by:
setAttributein interfaceRequestContext
-
urlFor
public String urlFor(Object key, Object param)
Deprecated.Description copied from interface:RequestContextConstruct a URL using the Provider's Target Builder- Specified by:
urlForin interfaceRequestContext
-
absoluteUrlFor
public String absoluteUrlFor(Object key, Object param)
Deprecated.Description copied from interface:RequestContextConstruct an absolute URL using the Provider's Target Builder. Relative URL's are resolved against the base URI- Specified by:
absoluteUrlForin interfaceRequestContext
-
isAtom
public boolean isAtom()
Deprecated.- Specified by:
isAtomin interfaceRequestContext
-
-