org.apache.abdera.protocol.server
Interface RequestContext
- All Superinterfaces:
- ProtocolConstants, Request
- All Known Implementing Classes:
- AbstractRequestContext, HttpServletRequestContext
public interface RequestContext
- extends Request
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 |
getAbdera
Abdera getAbdera()
getServiceContext
ServiceContext getServiceContext()
getTarget
Target getTarget()
getSubject
javax.security.auth.Subject getSubject()
getPrincipal
java.security.Principal getPrincipal()
getMethod
java.lang.String getMethod()
getUri
org.apache.abdera.i18n.iri.IRI getUri()
getResolvedUri
org.apache.abdera.i18n.iri.IRI getResolvedUri()
getBaseUri
org.apache.abdera.i18n.iri.IRI getBaseUri()
getProperty
java.lang.Object getProperty(RequestContext.Property property)
getParameter
java.lang.String getParameter(java.lang.String name)
getParameterNames
java.lang.String[] getParameterNames()
getParameters
java.util.List<java.lang.String> getParameters(java.lang.String name)
getAttribute
java.lang.Object getAttribute(RequestContext.Scope scope,
java.lang.String name)
getAttributeNames
java.lang.String[] getAttributeNames(RequestContext.Scope scope)
setAttribute
void setAttribute(RequestContext.Scope scope,
java.lang.String name,
java.lang.Object value)
getInputStream
java.io.InputStream getInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getReader
java.io.Reader getReader()
throws java.io.IOException
- Throws:
java.io.IOException
getDocument
<T extends Element> Document<T> getDocument()
throws ParseException,
java.io.IOException
- Throws:
ParseException
java.io.IOException
getDocument
<T extends Element> Document<T> getDocument(Parser parser)
throws ParseException,
java.io.IOException
- Throws:
ParseException
java.io.IOException
getDocument
<T extends Element> Document<T> getDocument(Parser parser,
ParserOptions options)
throws ParseException,
java.io.IOException
- Throws:
ParseException
java.io.IOException
getDocument
<T extends Element> Document<T> getDocument(ParserOptions options)
throws ParseException,
java.io.IOException
- Throws:
ParseException
java.io.IOException
isUserInRole
boolean isUserInRole(java.lang.String role)
getContextPath
java.lang.String getContextPath()
getTargetPath
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)