public class MuleRequestContext
extends org.apache.abdera.protocol.server.context.AbstractRequestContext
implements org.apache.abdera.protocol.server.RequestContext
Constructor and Description |
---|
MuleRequestContext(org.apache.abdera.protocol.server.Provider context,
MuleEventContext event,
MuleMessage request,
String contextPath,
org.apache.abdera.i18n.iri.IRI baseIri) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(org.apache.abdera.protocol.server.RequestContext.Scope scope,
String name) |
String[] |
getAttributeNames(org.apache.abdera.protocol.server.RequestContext.Scope scope) |
String |
getContextPath() |
Date |
getDateHeader(String name) |
String |
getHeader(String name) |
String[] |
getHeaderNames() |
Object[] |
getHeaders(String name) |
InputStream |
getInputStream() |
String |
getParameter(String name) |
String[] |
getParameterNames() |
List<String> |
getParameters(String name) |
Locale |
getPreferredLocale() |
Locale[] |
getPreferredLocales() |
Object |
getProperty(org.apache.abdera.protocol.server.RequestContext.Property property) |
Reader |
getReader() |
String |
getTargetBasePath() |
boolean |
isUserInRole(String role) |
org.apache.abdera.protocol.server.RequestContext |
setAttribute(org.apache.abdera.protocol.server.RequestContext.Scope scope,
String name,
Object value) |
absoluteUrlFor, getAbdera, getBaseUri, getDocument, getDocument, getDocument, getDocument, getMethod, getPrincipal, getProvider, getResolvedUri, getSubject, getTarget, getTargetPath, getUri, initTarget, isAtom, setAttribute, urlFor
getAccept, getAcceptCharset, getAcceptEncoding, getAcceptLanguage, getAuthorization, getIfMatch, getIfModifiedSince, getIfNoneMatch, getIfUnmodifiedSince, getMaxStale, getMinFresh, isOnlyIfCached, setMaxAge, setMaxStale, setMinFresh, setNoCache, setNoStore, setNoTransform, setOnlyIfCached
check, getCacheControl, getContentLanguage, getContentLocation, getContentType, getDecodedHeader, getDecodedHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransform, toggle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
absoluteUrlFor, getAbdera, getBaseUri, getDocument, getDocument, getDocument, getDocument, getMethod, getPrincipal, getProvider, getResolvedUri, getSubject, getTarget, getTargetPath, getUri, isAtom, setAttribute, urlFor
public MuleRequestContext(org.apache.abdera.protocol.server.Provider context, MuleEventContext event, MuleMessage request, String contextPath, org.apache.abdera.i18n.iri.IRI baseIri)
public Locale getPreferredLocale()
getPreferredLocale
in interface org.apache.abdera.protocol.server.RequestContext
public Locale[] getPreferredLocales()
getPreferredLocales
in interface org.apache.abdera.protocol.server.RequestContext
public String getTargetBasePath()
getTargetBasePath
in interface org.apache.abdera.protocol.server.RequestContext
public Object getProperty(org.apache.abdera.protocol.server.RequestContext.Property property)
getProperty
in interface org.apache.abdera.protocol.server.RequestContext
public Reader getReader() throws IOException
getReader
in interface org.apache.abdera.protocol.server.RequestContext
IOException
public InputStream getInputStream() throws IOException
getInputStream
in interface org.apache.abdera.protocol.server.RequestContext
IOException
public org.apache.abdera.protocol.server.RequestContext setAttribute(org.apache.abdera.protocol.server.RequestContext.Scope scope, String name, Object value)
setAttribute
in interface org.apache.abdera.protocol.server.RequestContext
public Object getAttribute(org.apache.abdera.protocol.server.RequestContext.Scope scope, String name)
getAttribute
in interface org.apache.abdera.protocol.server.RequestContext
public String[] getAttributeNames(org.apache.abdera.protocol.server.RequestContext.Scope scope)
getAttributeNames
in interface org.apache.abdera.protocol.server.RequestContext
public String getParameter(String name)
getParameter
in interface org.apache.abdera.protocol.server.RequestContext
public String[] getParameterNames()
getParameterNames
in interface org.apache.abdera.protocol.server.RequestContext
public List<String> getParameters(String name)
getParameters
in interface org.apache.abdera.protocol.server.RequestContext
public Date getDateHeader(String name)
getDateHeader
in interface org.apache.abdera.protocol.Message
public String getHeader(String name)
getHeader
in interface org.apache.abdera.protocol.Message
public String[] getHeaderNames()
getHeaderNames
in interface org.apache.abdera.protocol.Message
public Object[] getHeaders(String name)
getHeaders
in interface org.apache.abdera.protocol.Message
public boolean isUserInRole(String role)
isUserInRole
in interface org.apache.abdera.protocol.server.RequestContext
public String getContextPath()
getContextPath
in interface org.apache.abdera.protocol.server.RequestContext
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.