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, urlForgetAccept, getAcceptCharset, getAcceptEncoding, getAcceptLanguage, getAuthorization, getIfMatch, getIfModifiedSince, getIfNoneMatch, getIfUnmodifiedSince, getMaxStale, getMinFresh, isOnlyIfCached, setMaxAge, setMaxStale, setMinFresh, setNoCache, setNoStore, setNoTransform, setOnlyIfCachedcheck, getCacheControl, getContentLanguage, getContentLocation, getContentType, getDecodedHeader, getDecodedHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransform, toggleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabsoluteUrlFor, getAbdera, getBaseUri, getDocument, getDocument, getDocument, getDocument, getMethod, getPrincipal, getProvider, getResolvedUri, getSubject, getTarget, getTargetPath, getUri, isAtom, setAttribute, urlForpublic 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.RequestContextpublic Locale[] getPreferredLocales()
getPreferredLocales in interface org.apache.abdera.protocol.server.RequestContextpublic String getTargetBasePath()
getTargetBasePath in interface org.apache.abdera.protocol.server.RequestContextpublic Object getProperty(org.apache.abdera.protocol.server.RequestContext.Property property)
getProperty in interface org.apache.abdera.protocol.server.RequestContextpublic Reader getReader() throws IOException
getReader in interface org.apache.abdera.protocol.server.RequestContextIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in interface org.apache.abdera.protocol.server.RequestContextIOExceptionpublic 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.RequestContextpublic Object getAttribute(org.apache.abdera.protocol.server.RequestContext.Scope scope, String name)
getAttribute in interface org.apache.abdera.protocol.server.RequestContextpublic String[] getAttributeNames(org.apache.abdera.protocol.server.RequestContext.Scope scope)
getAttributeNames in interface org.apache.abdera.protocol.server.RequestContextpublic String getParameter(String name)
getParameter in interface org.apache.abdera.protocol.server.RequestContextpublic String[] getParameterNames()
getParameterNames in interface org.apache.abdera.protocol.server.RequestContextpublic List<String> getParameters(String name)
getParameters in interface org.apache.abdera.protocol.server.RequestContextpublic Date getDateHeader(String name)
getDateHeader in interface org.apache.abdera.protocol.Messagepublic String getHeader(String name)
getHeader in interface org.apache.abdera.protocol.Messagepublic String[] getHeaderNames()
getHeaderNames in interface org.apache.abdera.protocol.Messagepublic Object[] getHeaders(String name)
getHeaders in interface org.apache.abdera.protocol.Messagepublic boolean isUserInRole(String role)
isUserInRole in interface org.apache.abdera.protocol.server.RequestContextpublic String getContextPath()
getContextPath in interface org.apache.abdera.protocol.server.RequestContextCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.