org.apache.abdera.protocol.server.provider
Interface RequestContext

All Superinterfaces:
ProtocolConstants, Request
All Known Implementing Classes:
AbstractRequestContext, HttpServletRequestContext

public interface RequestContext
extends Request


Nested Class Summary
static class RequestContext.Property
           
static class RequestContext.Scope
           
 
Field Summary
 
Fields inherited from interface org.apache.abdera.protocol.util.ProtocolConstants
NOCACHE, NOSTORE, NOTRANSFORM, ONLYIFCACHED, PRIVATE, PROXYREVALIDATE, PUBLIC, REVALIDATE
 
Method Summary
 java.lang.Object getAttribute(RequestContext.Scope scope, java.lang.String name)
           
 java.lang.String[] getAttributeNames(RequestContext.Scope scope)
           
 IRI getBaseUri()
           
<T extends Element>
Document<T>
getDocument()
           
<T extends Element>
Document<T>
getDocument(Parser parser)
           
<T extends Element>
Document<T>
getDocument(ParserOptions options)
           
<T extends Element>
Document<T>
getDocument(Parser parser, ParserOptions options)
           
 java.io.InputStream getInputStream()
           
 java.lang.String getMethod()
           
 java.lang.String getParameter(java.lang.String name)
           
 java.lang.String[] getParameterNames()
           
 java.util.List<java.lang.String> getParameters(java.lang.String name)
           
 java.lang.Object getProperty(RequestContext.Property property)
           
 java.io.Reader getReader()
           
 IRI getResolvedUri()
           
 ServiceContext getServiceContext()
           
 javax.security.auth.Subject getSubject()
           
 Target getTarget()
           
 IRI getUri()
           
 void setAttribute(RequestContext.Scope scope, java.lang.String name, java.lang.Object value)
           
 
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
 

Method Detail

getServiceContext

ServiceContext getServiceContext()

getTarget

Target getTarget()

getSubject

javax.security.auth.Subject getSubject()

getMethod

java.lang.String getMethod()

getUri

IRI getUri()

getResolvedUri

IRI getResolvedUri()

getBaseUri

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