public class WebdavRequestImpl extends java.lang.Object implements WebdavRequest, DavConstants, ContentCodingAwareRequest
WebdavRequestImpl...BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTHcreationDateFormat, DEPTH_0, DEPTH_1, DEPTH_INFINITY, DEPTH_INFINITY_S, HEADER_AUTHORIZATION, HEADER_CONTENT_LANGUAGE, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_DAV, HEADER_DEPTH, HEADER_DESTINATION, HEADER_ETAG, HEADER_IF, HEADER_LAST_MODIFIED, HEADER_LOCK_TOKEN, HEADER_OVERWRITE, HEADER_TIMEOUT, INFINITE_TIMEOUT, modificationDateFormat, NAMESPACE, OPAQUE_LOCK_TOKEN_PREFIX, PROPERTY_CREATIONDATE, PROPERTY_DISPLAYNAME, PROPERTY_GETCONTENTLANGUAGE, PROPERTY_GETCONTENTLENGTH, PROPERTY_GETCONTENTTYPE, PROPERTY_GETETAG, PROPERTY_GETLASTMODIFIED, PROPERTY_LOCKDISCOVERY, PROPERTY_RESOURCETYPE, PROPERTY_SOURCE, PROPERTY_SUPPORTEDLOCK, PROPFIND_ALL_PROP, PROPFIND_ALL_PROP_INCLUDE, PROPFIND_BY_PROPERTY, PROPFIND_PROPERTY_NAMES, TIMEOUT_INFINITE, UNDEFINED_TIME, UNDEFINED_TIMEOUT, XML_ACTIVELOCK, XML_ALLPROP, XML_COLLECTION, XML_DEPTH, XML_DST, XML_EXCLUSIVE, XML_HREF, XML_INCLUDE, XML_KEEPALIVE, XML_LINK, XML_LOCKENTRY, XML_LOCKINFO, XML_LOCKROOT, XML_LOCKSCOPE, XML_LOCKTOKEN, XML_LOCKTYPE, XML_MULTISTATUS, XML_OMIT, XML_OWNER, XML_PROP, XML_PROPERTYBEHAVIOR, XML_PROPERTYUPDATE, XML_PROPFIND, XML_PROPNAME, XML_PROPSTAT, XML_REMOVE, XML_RESPONSE, XML_RESPONSEDESCRIPTION, XML_SET, XML_SHARED, XML_SOURCE, XML_STATUS, XML_TIMEOUT, XML_WRITEPRECONDITION_SUPPORTED| Constructor and Description |
|---|
WebdavRequestImpl(javax.servlet.http.HttpServletRequest httpRequest,
DavLocatorFactory factory)
Creates a new
DavServletRequest with the given parameters. |
WebdavRequestImpl(javax.servlet.http.HttpServletRequest httpRequest,
DavLocatorFactory factory,
boolean createAbsoluteURI)
Creates a new
DavServletRequest with the given parameters. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(javax.servlet.http.HttpServletResponse response) |
java.lang.String |
changeSessionId() |
java.lang.String |
getAcceptableCodings() |
javax.servlet.AsyncContext |
getAsyncContext() |
java.lang.Object |
getAttribute(java.lang.String s) |
java.util.Enumeration<java.lang.String> |
getAttributeNames() |
java.lang.String |
getAuthType() |
BindInfo |
getBindInfo()
Returns the
BindInfo present with the request |
java.lang.String |
getCharacterEncoding() |
int |
getContentLength() |
long |
getContentLengthLong() |
java.lang.String |
getContentType() |
java.lang.String |
getContextPath() |
javax.servlet.http.Cookie[] |
getCookies() |
long |
getDateHeader(java.lang.String s) |
DavSession |
getDavSession()
Returns the
DavSession created for this request. |
int |
getDepth()
Return the integer representation of the given
Depth header. |
int |
getDepth(int defaultValue)
Returns the integer representation of the
Depth header or the given defaultValue, if the Depth header is missing. |
DavResourceLocator |
getDestinationLocator()
Parse the destination header field and return the path of the destination
resource.
|
javax.servlet.DispatcherType |
getDispatcherType() |
java.lang.String |
getHeader(java.lang.String s) |
java.util.Enumeration<java.lang.String> |
getHeaderNames() |
java.util.Enumeration<java.lang.String> |
getHeaders(java.lang.String s) |
DavResourceLocator |
getHrefLocator(java.lang.String href)
Parse a href and return the path of the resource.
|
javax.servlet.ServletInputStream |
getInputStream() |
int |
getIntHeader(java.lang.String s) |
java.lang.String |
getLabel()
Returns the Label header or
null |
LabelInfo |
getLabelInfo()
Return the request body as
LabelInfo object or null
if parsing the request body or the creation of the label info failed. |
java.lang.String |
getLocalAddr() |
java.util.Locale |
getLocale() |
java.util.Enumeration<java.util.Locale> |
getLocales() |
java.lang.String |
getLocalName() |
int |
getLocalPort() |
LockInfo |
getLockInfo()
LockInfo object encapsulating the information passed with a LOCK
request if the LOCK request body was valid. |
java.lang.String |
getLockToken()
Retrieve the lock token from the 'Lock-Token' header.
|
DavResourceLocator |
getMemberLocator(java.lang.String segment)
Returns the path of the member resource of the request resource which is identified by the segment parameter.
|
MergeInfo |
getMergeInfo()
Return the request body as
MergeInfo object or null
if the creation failed due to invalid format. |
java.lang.String |
getMethod() |
OptionsInfo |
getOptionsInfo()
Returns the
OptionsInfo present with the request or null. |
java.lang.String |
getOrderingType()
Returns the
Ordering-Type header. |
OrderPatch |
getOrderPatch()
Return a
OrderPatch object encapsulating the request body
of an ORDERPATCH request or null if the request body was
either missing or could not be parsed. |
java.lang.String |
getParameter(java.lang.String s) |
java.util.Map<java.lang.String,java.lang.String[]> |
getParameterMap() |
java.util.Enumeration<java.lang.String> |
getParameterNames() |
java.lang.String[] |
getParameterValues(java.lang.String s) |
javax.servlet.http.Part |
getPart(java.lang.String name) |
java.util.Collection<javax.servlet.http.Part> |
getParts() |
java.lang.String |
getPathInfo() |
java.lang.String |
getPathTranslated() |
long |
getPollTimeout()
Returns the
PollTimeout header
or 0 (zero) if no such header is present. |
Position |
getPosition()
Return a
Position object encapsulating the Position header field or null if no Position header is present
or does not contain a valid format. |
DavPropertyNameSet |
getPropFindProperties()
Returns the set of properties requested by the PROPFIND body or an
empty set if the
type is either 'allprop' or
'propname'. |
int |
getPropFindType()
Returns the type of PROPFIND as indicated by the request body.
|
java.util.List<? extends PropEntry> |
getPropPatchChangeList()
Return a
List of property change operations. |
java.lang.String |
getProtocol() |
java.lang.String |
getQueryString() |
java.io.BufferedReader |
getReader() |
java.lang.String |
getRealPath(java.lang.String s) |
RebindInfo |
getRebindInfo()
Returns the
RebindInfo present with the request |
java.lang.String |
getRemoteAddr() |
java.lang.String |
getRemoteHost() |
int |
getRemotePort() |
java.lang.String |
getRemoteUser() |
ReportInfo |
getReportInfo()
Returns the request body and the Depth header as
ReportInfo
object. |
java.util.List<java.lang.String> |
getRequestContentCodings() |
javax.servlet.RequestDispatcher |
getRequestDispatcher(java.lang.String s) |
org.w3c.dom.Document |
getRequestDocument()
Parse the Xml request body and return a
Document. |
java.lang.String |
getRequestedSessionId() |
DavResourceLocator |
getRequestLocator()
Return a
DavResourceLocator representing the request handle. |
java.lang.String |
getRequestURI() |
java.lang.StringBuffer |
getRequestURL() |
java.lang.String |
getScheme() |
java.lang.String |
getServerName() |
int |
getServerPort() |
javax.servlet.ServletContext |
getServletContext() |
java.lang.String |
getServletPath() |
javax.servlet.http.HttpSession |
getSession() |
javax.servlet.http.HttpSession |
getSession(boolean b) |
java.lang.String |
getSubscriptionId()
Return the
SubscriptionId header
or null if no such header is present. |
SubscriptionInfo |
getSubscriptionInfo()
Return a
SubscriptionInfo object representing the subscription
info present in the SUBSCRIBE request body or null if
retrieving the subscription info fails. |
long |
getTimeout()
Parse the Timeout header and return a long representing the value.
|
java.lang.String |
getTransactionId()
Retrieve the transaction id from the
TransactionId header. |
TransactionInfo |
getTransactionInfo()
Retrieve the 'transactioninfo' request body that must be included with
the UNLOCK request of a transaction lock.
|
UnbindInfo |
getUnbindInfo()
Returns the
UnbindInfo present with the request |
UpdateInfo |
getUpdateInfo()
Parses the UPDATE request body a build the corresponding
UpdateInfo
object. |
java.security.Principal |
getUserPrincipal() |
boolean |
isAsyncStarted() |
boolean |
isAsyncSupported() |
boolean |
isOverwrite()
Return true if the overwrite header does not inhibit overwriting.
|
boolean |
isRequestedSessionIdFromCookie() |
boolean |
isRequestedSessionIdFromUrl() |
boolean |
isRequestedSessionIdFromURL() |
boolean |
isRequestedSessionIdValid() |
boolean |
isSecure() |
boolean |
isUserInRole(java.lang.String s) |
void |
login(java.lang.String username,
java.lang.String password) |
void |
logout() |
boolean |
matchesIfHeader(DavResource resource)
Test if the if header matches the given resource.
|
boolean |
matchesIfHeader(java.lang.String href,
java.lang.String token,
java.lang.String eTag)
Returns true, if the
If header present
with the request matches to the given href, token and eTag. |
void |
removeAttribute(java.lang.String s) |
void |
setAttribute(java.lang.String s,
java.lang.Object o) |
void |
setCharacterEncoding(java.lang.String s) |
void |
setDavSession(DavSession session)
Sets the session field and adds all lock tokens present with either the
Lock-Token header or the If header to the given session object.
|
javax.servlet.AsyncContext |
startAsync() |
javax.servlet.AsyncContext |
startAsync(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse) |
<T extends javax.servlet.http.HttpUpgradeHandler> |
upgrade(java.lang.Class<T> handlerClass) |
public WebdavRequestImpl(javax.servlet.http.HttpServletRequest httpRequest,
DavLocatorFactory factory)
DavServletRequest with the given parameters.public WebdavRequestImpl(javax.servlet.http.HttpServletRequest httpRequest,
DavLocatorFactory factory,
boolean createAbsoluteURI)
DavServletRequest with the given parameters.httpRequest - factory - createAbsoluteURI - defines if we must create a absolute URI. if false a absolute path will be createdpublic void setDavSession(DavSession session)
setDavSession in interface DavServletRequestsession - DavServletRequest.setDavSession(DavSession)public DavSession getDavSession()
DavServletRequestDavSession created for this request.getDavSession in interface DavServletRequestDavServletRequest.getDavSession()public DavResourceLocator getRequestLocator()
DavResourceLocator representing the request handle.getRequestLocator in interface DavServletRequestDavServletRequest.getRequestLocator()public DavResourceLocator getDestinationLocator() throws DavException
getDestinationLocator in interface DavServletRequestDavExceptionDavConstants.HEADER_DESTINATION,
DavServletRequest.getDestinationLocator()public DavResourceLocator getHrefLocator(java.lang.String href) throws DavException
getHrefLocator in interface BindServletRequestDavExceptionBindServletRequest.getHrefLocator(java.lang.String)public DavResourceLocator getMemberLocator(java.lang.String segment)
getMemberLocator in interface BindServletRequestpublic boolean isOverwrite()
isOverwrite in interface DavServletRequestDavConstants.HEADER_OVERWRITE,
DavServletRequest.isOverwrite()public int getDepth(int defaultValue)
DavServletRequestDepth header or the given defaultValue, if the Depth header is missing.getDepth in interface DavServletRequestdefaultValue - to be returned if no Depth header is present.Depth header or the given defaultValue.DavServletRequest.getDepth(int)public int getDepth()
DavServletRequestDepth header. 'Infinity' is represented by DavConstants.DEPTH_INFINITY.getDepth in interface DavServletRequestDepth header.DavServletRequest.getDepth()public long getTimeout()
DavConstants.UNDEFINED_TIMEOUT is used as default value if no header
is available or if the parsing fails.getTimeout in interface DavServletRequestDavServletRequest.getTimeout(),
TimeoutHeader.parse(javax.servlet.http.HttpServletRequest, long)public java.lang.String getLockToken()
getLockToken in interface DavServletRequestjava.lang.IllegalArgumentException - If the value has not the correct format.DavConstants.HEADER_LOCK_TOKEN,
DavServletRequest.getLockToken()public org.w3c.dom.Document getRequestDocument()
throws DavException
DavServletRequestDocument.getRequestDocument in interface DavServletRequestnull
if no request body is present.DavException - If the request body cannot be parsed into an Xml
Document.DavServletRequest.getRequestDocument()public int getPropFindType()
throws DavException
getPropFindType in interface DavServletRequestallpropsDavException - If the propfind type could not be determined due to
an invalid request body.DavServletRequest.getPropFindType()public DavPropertyNameSet getPropFindProperties() throws DavException
type is either 'allprop' or
'propname'.getPropFindProperties in interface DavServletRequestDavException - In case of invalid request bodyDavServletRequest.getPropFindProperties()public java.util.List<java.lang.String> getRequestContentCodings()
getRequestContentCodings in interface ContentCodingAwareRequestpublic java.lang.String getAcceptableCodings()
getAcceptableCodings in interface ContentCodingAwareRequestpublic java.util.List<? extends PropEntry> getPropPatchChangeList() throws DavException
List of property change operations. Each entry
is either of type DavPropertyName, indicating a <remove>
operation, or of type DavProperty, indicating a <set>
operation. Note that ordering is significant here.getPropPatchChangeList in interface DavServletRequestDavException - In case of invalid request bodyDavServletRequest.getPropPatchChangeList()public LockInfo getLockInfo() throws DavException
LockInfo object encapsulating the information passed with a LOCK
request if the LOCK request body was valid. If the request body is
missing a 'refresh lock' request is assumed. The LockInfo
then only provides timeout and isDeep property and returns true on
LockInfo.isRefreshLock()getLockInfo in interface DavServletRequestnull if an error occurred while
parsing the request body.DavException - throws a 400 (Bad Request) DavException if a request
body is present but does not start with a DAV:lockinfo element. Note however,
that a non-existing request body is a valid request used to refresh
an existing lock.DavServletRequest.getLockInfo()public boolean matchesIfHeader(DavResource resource)
resource href and the token returned from an exclusive write lock present on
the resource.null or if
the resource has not applied an exclusive write lock the preconditions are met.
If in contrast the lock applied to the given resource returns a
null lock token (e.g. for security reasons) or a lock token
that does not match, the method will return false.matchesIfHeader in interface DavServletRequestresource - Webdav resources being operated onDavServletRequest.matchesIfHeader(DavResource),
IfHeader.matches(String, String, String),
DavResource.hasLock(org.apache.jackrabbit.webdav.lock.Type, org.apache.jackrabbit.webdav.lock.Scope),
ActiveLock.getToken()public boolean matchesIfHeader(java.lang.String href,
java.lang.String token,
java.lang.String eTag)
DavServletRequestIf header present
with the request matches to the given href, token and eTag.matchesIfHeader in interface DavServletRequestDavServletRequest.matchesIfHeader(String, String, String),
IfHeader.matches(String, String, String)public java.lang.String getTransactionId()
TransactionDavServletRequestTransactionId header.getTransactionId in interface TransactionDavServletRequestTransactionId header
or null.TransactionDavServletRequest.getTransactionId()public TransactionInfo getTransactionInfo() throws DavException
TransactionDavServletRequestnull is returned.getTransactionInfo in interface TransactionDavServletRequestTransactionInfo object encapsulating the 'transactioninfo'
Xml element present in the request body or null if no
body is present or if it could not be parsed.DavException - if an invalid request body is present.TransactionDavServletRequest.getTransactionInfo()public java.lang.String getSubscriptionId()
ObservationDavServletRequestSubscriptionId header
or null if no such header is present.getSubscriptionId in interface ObservationDavServletRequestSubscriptionId headerObservationDavServletRequest.getSubscriptionId()public long getPollTimeout()
ObservationDavServletRequestPollTimeout header
or 0 (zero) if no such header is present.getPollTimeout in interface ObservationDavServletRequestObservationDavServletRequest.getPollTimeout()public SubscriptionInfo getSubscriptionInfo() throws DavException
ObservationDavServletRequestSubscriptionInfo object representing the subscription
info present in the SUBSCRIBE request body or null if
retrieving the subscription info fails.getSubscriptionInfo in interface ObservationDavServletRequestnull if the subscription info cannot be built.DavException - if an invalid request body was encountered.ObservationDavServletRequest.getSubscriptionInfo()public java.lang.String getOrderingType()
OrderingDavServletRequestOrdering-Type header.getOrderingType in interface OrderingDavServletRequestOrdering-Type header.OrderingDavServletRequest.getOrderingType()public Position getPosition()
OrderingDavServletRequestPosition object encapsulating the Position header field or null if no Position header is present
or does not contain a valid format.getPosition in interface OrderingDavServletRequestPosition object encapsulating the Position headerOrderingDavServletRequest.getPosition()public OrderPatch getOrderPatch() throws DavException
OrderingDavServletRequestOrderPatch object encapsulating the request body
of an ORDERPATCH request or null if the request body was
either missing or could not be parsed.getOrderPatch in interface OrderingDavServletRequestOrderPatch object representing the orderpatch request
body or null if theDavExceptionOrderingDavServletRequest.getOrderPatch()public java.lang.String getLabel()
DeltaVServletRequestnullgetLabel in interface DeltaVServletRequestnullDeltaVServletRequest.getLabel()public LabelInfo getLabelInfo() throws DavException
DeltaVServletRequestLabelInfo object or null
if parsing the request body or the creation of the label info failed.getLabelInfo in interface DeltaVServletRequestLabelInfo object or nullDavException - in case of an invalid request bodyDeltaVServletRequest.getLabelInfo()public MergeInfo getMergeInfo() throws DavException
DeltaVServletRequestMergeInfo object or null
if the creation failed due to invalid format.getMergeInfo in interface DeltaVServletRequestMergeInfo object or nullDavException - in case of an invalid request bodyDeltaVServletRequest.getMergeInfo()public UpdateInfo getUpdateInfo() throws DavException
DeltaVServletRequestUpdateInfo
object. If the request body is missing or does not of the required format
null is returned.getUpdateInfo in interface DeltaVServletRequestnullDavException - in case of an invalid request bodyDeltaVServletRequest.getUpdateInfo()public ReportInfo getReportInfo() throws DavException
DeltaVServletRequestReportInfo
object. The default depth, if no Depth header, is DavConstants.DEPTH_0.
If the request body could not be parsed into an Element
null is returned.getReportInfo in interface DeltaVServletRequestReportInfo or nullDavException - in case of an invalid request bodyDeltaVServletRequest.getReportInfo()public OptionsInfo getOptionsInfo() throws DavException
DeltaVServletRequestOptionsInfo present with the request or null.getOptionsInfo in interface DeltaVServletRequestOptionsInfo or nullDavException - in case of an invalid request bodyDeltaVServletRequest.getOptionsInfo()public RebindInfo getRebindInfo() throws DavException
BindServletRequestRebindInfo present with the requestgetRebindInfo in interface BindServletRequestRebindInfo objectDavException - in case of an invalid or missing request bodyBindServletRequest.getRebindInfo()public UnbindInfo getUnbindInfo() throws DavException
BindServletRequestUnbindInfo present with the requestgetUnbindInfo in interface BindServletRequestUnbindInfo objectDavException - in case of an invalid or missing request bodyBindServletRequest.getUnbindInfo()public BindInfo getBindInfo() throws DavException
BindServletRequestBindInfo present with the requestgetBindInfo in interface BindServletRequestBindInfo objectDavException - in case of an invalid or missing request bodyBindServletRequest.getBindInfo()public java.lang.String getAuthType()
getAuthType in interface javax.servlet.http.HttpServletRequestpublic javax.servlet.http.Cookie[] getCookies()
getCookies in interface javax.servlet.http.HttpServletRequestpublic long getDateHeader(java.lang.String s)
getDateHeader in interface javax.servlet.http.HttpServletRequestpublic java.lang.String getHeader(java.lang.String s)
getHeader in interface javax.servlet.http.HttpServletRequestpublic java.util.Enumeration<java.lang.String> getHeaders(java.lang.String s)
getHeaders in interface javax.servlet.http.HttpServletRequestpublic java.util.Enumeration<java.lang.String> getHeaderNames()
getHeaderNames in interface javax.servlet.http.HttpServletRequestpublic int getIntHeader(java.lang.String s)
getIntHeader in interface javax.servlet.http.HttpServletRequestpublic java.lang.String getMethod()
getMethod in interface javax.servlet.http.HttpServletRequestpublic java.lang.String getPathInfo()
getPathInfo in interface javax.servlet.http.HttpServletRequestpublic java.lang.String getPathTranslated()
getPathTranslated in interface javax.servlet.http.HttpServletRequestpublic java.lang.String getContextPath()
getContextPath in interface javax.servlet.http.HttpServletRequestpublic java.lang.String getQueryString()
getQueryString in interface javax.servlet.http.HttpServletRequestpublic java.lang.String getRemoteUser()
getRemoteUser in interface javax.servlet.http.HttpServletRequestpublic boolean isUserInRole(java.lang.String s)
isUserInRole in interface javax.servlet.http.HttpServletRequestpublic java.security.Principal getUserPrincipal()
getUserPrincipal in interface javax.servlet.http.HttpServletRequestpublic java.lang.String getRequestedSessionId()
getRequestedSessionId in interface javax.servlet.http.HttpServletRequestpublic java.lang.String getRequestURI()
getRequestURI in interface javax.servlet.http.HttpServletRequestpublic java.lang.StringBuffer getRequestURL()
getRequestURL in interface javax.servlet.http.HttpServletRequestpublic java.lang.String getServletPath()
getServletPath in interface javax.servlet.http.HttpServletRequestpublic javax.servlet.http.HttpSession getSession(boolean b)
getSession in interface javax.servlet.http.HttpServletRequestpublic javax.servlet.http.HttpSession getSession()
getSession in interface javax.servlet.http.HttpServletRequestpublic boolean isRequestedSessionIdValid()
isRequestedSessionIdValid in interface javax.servlet.http.HttpServletRequestpublic boolean isRequestedSessionIdFromCookie()
isRequestedSessionIdFromCookie in interface javax.servlet.http.HttpServletRequestpublic boolean isRequestedSessionIdFromURL()
isRequestedSessionIdFromURL in interface javax.servlet.http.HttpServletRequestpublic boolean isRequestedSessionIdFromUrl()
isRequestedSessionIdFromUrl in interface javax.servlet.http.HttpServletRequestpublic java.lang.Object getAttribute(java.lang.String s)
getAttribute in interface javax.servlet.ServletRequestpublic java.util.Enumeration<java.lang.String> getAttributeNames()
getAttributeNames in interface javax.servlet.ServletRequestpublic java.lang.String getCharacterEncoding()
getCharacterEncoding in interface javax.servlet.ServletRequestpublic void setCharacterEncoding(java.lang.String s)
throws java.io.UnsupportedEncodingException
setCharacterEncoding in interface javax.servlet.ServletRequestjava.io.UnsupportedEncodingExceptionpublic int getContentLength()
getContentLength in interface javax.servlet.ServletRequestpublic java.lang.String getContentType()
getContentType in interface javax.servlet.ServletRequestpublic javax.servlet.ServletInputStream getInputStream()
throws java.io.IOException
getInputStream in interface javax.servlet.ServletRequestjava.io.IOExceptionpublic java.lang.String getParameter(java.lang.String s)
getParameter in interface javax.servlet.ServletRequestpublic java.util.Enumeration<java.lang.String> getParameterNames()
getParameterNames in interface javax.servlet.ServletRequestpublic java.lang.String[] getParameterValues(java.lang.String s)
getParameterValues in interface javax.servlet.ServletRequestpublic java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
getParameterMap in interface javax.servlet.ServletRequestpublic java.lang.String getProtocol()
getProtocol in interface javax.servlet.ServletRequestpublic java.lang.String getScheme()
getScheme in interface javax.servlet.ServletRequestpublic java.lang.String getServerName()
getServerName in interface javax.servlet.ServletRequestpublic int getServerPort()
getServerPort in interface javax.servlet.ServletRequestpublic java.io.BufferedReader getReader()
throws java.io.IOException
getReader in interface javax.servlet.ServletRequestjava.io.IOExceptionpublic java.lang.String getRemoteAddr()
getRemoteAddr in interface javax.servlet.ServletRequestpublic java.lang.String getRemoteHost()
getRemoteHost in interface javax.servlet.ServletRequestpublic void setAttribute(java.lang.String s,
java.lang.Object o)
setAttribute in interface javax.servlet.ServletRequestpublic void removeAttribute(java.lang.String s)
removeAttribute in interface javax.servlet.ServletRequestpublic java.util.Locale getLocale()
getLocale in interface javax.servlet.ServletRequestpublic java.util.Enumeration<java.util.Locale> getLocales()
getLocales in interface javax.servlet.ServletRequestpublic boolean isSecure()
isSecure in interface javax.servlet.ServletRequestpublic javax.servlet.RequestDispatcher getRequestDispatcher(java.lang.String s)
getRequestDispatcher in interface javax.servlet.ServletRequestpublic java.lang.String getRealPath(java.lang.String s)
getRealPath in interface javax.servlet.ServletRequestpublic int getRemotePort()
getRemotePort in interface javax.servlet.ServletRequestpublic java.lang.String getLocalName()
getLocalName in interface javax.servlet.ServletRequestpublic java.lang.String getLocalAddr()
getLocalAddr in interface javax.servlet.ServletRequestpublic int getLocalPort()
getLocalPort in interface javax.servlet.ServletRequestpublic java.lang.String changeSessionId()
changeSessionId in interface javax.servlet.http.HttpServletRequestpublic boolean authenticate(javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
authenticate in interface javax.servlet.http.HttpServletRequestjava.io.IOExceptionjavax.servlet.ServletExceptionpublic void login(java.lang.String username,
java.lang.String password)
throws javax.servlet.ServletException
login in interface javax.servlet.http.HttpServletRequestjavax.servlet.ServletExceptionpublic void logout()
throws javax.servlet.ServletException
logout in interface javax.servlet.http.HttpServletRequestjavax.servlet.ServletExceptionpublic java.util.Collection<javax.servlet.http.Part> getParts()
throws java.io.IOException,
javax.servlet.ServletException
getParts in interface javax.servlet.http.HttpServletRequestjava.io.IOExceptionjavax.servlet.ServletExceptionpublic javax.servlet.http.Part getPart(java.lang.String name)
throws java.io.IOException,
javax.servlet.ServletException
getPart in interface javax.servlet.http.HttpServletRequestjava.io.IOExceptionjavax.servlet.ServletExceptionpublic <T extends javax.servlet.http.HttpUpgradeHandler> T upgrade(java.lang.Class<T> handlerClass)
throws java.io.IOException,
javax.servlet.ServletException
upgrade in interface javax.servlet.http.HttpServletRequestjava.io.IOExceptionjavax.servlet.ServletExceptionpublic long getContentLengthLong()
getContentLengthLong in interface javax.servlet.ServletRequestpublic javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.ServletRequestpublic javax.servlet.AsyncContext startAsync()
throws java.lang.IllegalStateException
startAsync in interface javax.servlet.ServletRequestjava.lang.IllegalStateExceptionpublic javax.servlet.AsyncContext startAsync(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse)
throws java.lang.IllegalStateException
startAsync in interface javax.servlet.ServletRequestjava.lang.IllegalStateExceptionpublic boolean isAsyncStarted()
isAsyncStarted in interface javax.servlet.ServletRequestpublic boolean isAsyncSupported()
isAsyncSupported in interface javax.servlet.ServletRequestpublic javax.servlet.AsyncContext getAsyncContext()
getAsyncContext in interface javax.servlet.ServletRequestpublic javax.servlet.DispatcherType getDispatcherType()
getDispatcherType in interface javax.servlet.ServletRequestCopyright © 2010 - 2023 Adobe. All Rights Reserved