java.lang.Object
org.apache.jackrabbit.webdav.WebdavRequestImpl
- All Implemented Interfaces:
jakarta.servlet.http.HttpServletRequest
,jakarta.servlet.ServletRequest
,org.apache.jackrabbit.webdav.bind.BindServletRequest
,ContentCodingAwareRequest
,DavConstants
,DavServletRequest
,org.apache.jackrabbit.webdav.observation.ObservationDavServletRequest
,org.apache.jackrabbit.webdav.ordering.OrderingDavServletRequest
,org.apache.jackrabbit.webdav.transaction.TransactionDavServletRequest
,org.apache.jackrabbit.webdav.version.DeltaVServletRequest
,WebdavRequest
public class WebdavRequestImpl
extends Object
implements WebdavRequest, DavConstants, ContentCodingAwareRequest
WebdavRequestImpl
...-
Field Summary
Fields inherited from interface org.apache.jackrabbit.webdav.ContentCodingAwareRequest
PRECONDITION_SUPPORTED
Fields inherited from interface org.apache.jackrabbit.webdav.DavConstants
creationDateFormat, 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_WRITE
Fields inherited from interface jakarta.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
Constructor Summary
ConstructorsConstructorDescriptionWebdavRequestImpl
(jakarta.servlet.http.HttpServletRequest httpRequest, DavLocatorFactory factory) Creates a newDavServletRequest
with the given parameters.WebdavRequestImpl
(jakarta.servlet.http.HttpServletRequest httpRequest, DavLocatorFactory factory, boolean createAbsoluteURI) Creates a newDavServletRequest
with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionboolean
authenticate
(jakarta.servlet.http.HttpServletResponse response) jakarta.servlet.AsyncContext
org.apache.jackrabbit.webdav.bind.BindInfo
Returns theBindInfo
present with the requestint
long
jakarta.servlet.http.Cookie[]
long
Returns theDavSession
created for this request.int
getDepth()
Return the integer representation of the givenDepth header
.int
getDepth
(int defaultValue) Returns the integer representation of theDepth header
or the given defaultValue, if the Depth header is missing.Parse the destination header field and return the path of the destination resource.jakarta.servlet.DispatcherType
getHeaders
(String s) getHrefLocator
(String href) Parse a href and return the path of the resource.jakarta.servlet.ServletInputStream
int
getLabel()
Returns the Label header ornull
org.apache.jackrabbit.webdav.version.LabelInfo
Return the request body asLabelInfo
object ornull
if parsing the request body or the creation of the label info failed.int
org.apache.jackrabbit.webdav.lock.LockInfo
LockInfo
object encapsulating the information passed with a LOCK request if the LOCK request body was valid.Retrieve the lock token from the 'Lock-Token' header.getMemberLocator
(String segment) Returns the path of the member resource of the request resource which is identified by the segment parameter.org.apache.jackrabbit.webdav.version.MergeInfo
Return the request body asMergeInfo
object ornull
if the creation failed due to invalid format.org.apache.jackrabbit.webdav.version.OptionsInfo
Returns theOptionsInfo
present with the request ornull
.Returns theOrdering-Type header
.org.apache.jackrabbit.webdav.ordering.OrderPatch
Return aOrderPatch
object encapsulating the request body of an ORDERPATCH request ornull
if the request body was either missing or could not be parsed.String[]
jakarta.servlet.http.Part
Collection<jakarta.servlet.http.Part>
getParts()
long
Returns thePollTimeout header
or 0 (zero) if no such header is present.org.apache.jackrabbit.webdav.ordering.Position
Return aPosition
object encapsulating thePosition header
field ornull
if no Position header is present or does not contain a valid format.Returns the set of properties requested by the PROPFIND body or an empty set if thetype
is either 'allprop' or 'propname'.int
Returns the type of PROPFIND as indicated by the request body.Return aList
of property change operations.org.apache.jackrabbit.webdav.bind.RebindInfo
Returns theRebindInfo
present with the requestint
org.apache.jackrabbit.webdav.version.report.ReportInfo
Returns the request body and the Depth header asReportInfo
object.jakarta.servlet.RequestDispatcher
Parse the Xml request body and return aDocument
.Return aDavResourceLocator
representing the request handle.int
jakarta.servlet.ServletConnection
jakarta.servlet.ServletContext
jakarta.servlet.http.HttpSession
jakarta.servlet.http.HttpSession
getSession
(boolean b) Return theSubscriptionId header
ornull
if no such header is present.org.apache.jackrabbit.webdav.observation.SubscriptionInfo
Return aSubscriptionInfo
object representing the subscription info present in the SUBSCRIBE request body ornull
if retrieving the subscription info fails.long
Parse the Timeout header and return a long representing the value.Retrieve the transaction id from theTransactionId header
.org.apache.jackrabbit.webdav.transaction.TransactionInfo
Retrieve the 'transactioninfo' request body that must be included with the UNLOCK request of a transaction lock.org.apache.jackrabbit.webdav.bind.UnbindInfo
Returns theUnbindInfo
present with the requestorg.apache.jackrabbit.webdav.version.UpdateInfo
Parses the UPDATE request body a build the correspondingUpdateInfo
object.boolean
boolean
boolean
Return true if the overwrite header does not inhibit overwriting.boolean
boolean
boolean
boolean
isSecure()
boolean
void
void
logout()
boolean
matchesIfHeader
(String href, String token, String eTag) Returns true, if theIf header
present with the request matches to the given href, token and eTag.boolean
matchesIfHeader
(DavResource resource) Test if the if header matches the given resource.void
void
setAttribute
(String s, Object o) void
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.jakarta.servlet.AsyncContext
jakarta.servlet.AsyncContext
startAsync
(jakarta.servlet.ServletRequest servletRequest, jakarta.servlet.ServletResponse servletResponse) <T extends jakarta.servlet.http.HttpUpgradeHandler>
TMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.servlet.http.HttpServletRequest
getHttpServletMapping, getTrailerFields, isTrailerFieldsReady, newPushBuilder
Methods inherited from interface jakarta.servlet.ServletRequest
setCharacterEncoding
-
Constructor Details
-
WebdavRequestImpl
public WebdavRequestImpl(jakarta.servlet.http.HttpServletRequest httpRequest, DavLocatorFactory factory) Creates a newDavServletRequest
with the given parameters. -
WebdavRequestImpl
public WebdavRequestImpl(jakarta.servlet.http.HttpServletRequest httpRequest, DavLocatorFactory factory, boolean createAbsoluteURI) Creates a newDavServletRequest
with the given parameters.- Parameters:
httpRequest
-factory
-createAbsoluteURI
- defines if we must create a absolute URI. if false a absolute path will be created
-
-
Method Details
-
setDavSession
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.- Specified by:
setDavSession
in interfaceDavServletRequest
- Parameters:
session
-- See Also:
-
getDavSession
Description copied from interface:DavServletRequest
Returns theDavSession
created for this request.- Specified by:
getDavSession
in interfaceDavServletRequest
- Returns:
- session for this resource
- See Also:
-
getRequestLocator
Return aDavResourceLocator
representing the request handle.- Specified by:
getRequestLocator
in interfaceDavServletRequest
- Returns:
- locator of the requested resource
- See Also:
-
getDestinationLocator
Parse the destination header field and return the path of the destination resource.- Specified by:
getDestinationLocator
in interfaceDavServletRequest
- Returns:
- path of the destination resource.
- Throws:
DavException
- See Also:
-
getHrefLocator
Parse a href and return the path of the resource.- Specified by:
getHrefLocator
in interfaceorg.apache.jackrabbit.webdav.bind.BindServletRequest
- Returns:
- path of the resource identified by the href.
- Throws:
DavException
- See Also:
-
BindServletRequest.getHrefLocator(java.lang.String)
-
getMemberLocator
Returns the path of the member resource of the request resource which is identified by the segment parameter.- Specified by:
getMemberLocator
in interfaceorg.apache.jackrabbit.webdav.bind.BindServletRequest
- Returns:
- path of internal member resource.
-
isOverwrite
public boolean isOverwrite()Return true if the overwrite header does not inhibit overwriting.- Specified by:
isOverwrite
in interfaceDavServletRequest
- Returns:
- true if the overwrite header requests 'overwriting'
- See Also:
-
getDepth
public int getDepth(int defaultValue) Description copied from interface:DavServletRequest
Returns the integer representation of theDepth header
or the given defaultValue, if the Depth header is missing.- Specified by:
getDepth
in interfaceDavServletRequest
- Parameters:
defaultValue
- to be returned if no Depth header is present.- Returns:
- integer representation of the
Depth header
or the given defaultValue. - See Also:
-
getDepth
public int getDepth()Description copied from interface:DavServletRequest
Return the integer representation of the givenDepth header
. 'Infinity' is represented byDavConstants.DEPTH_INFINITY
.- Specified by:
getDepth
in interfaceDavServletRequest
- Returns:
- integer representation of the
Depth header
. - See Also:
-
getTimeout
public long getTimeout()Parse the Timeout header and return a long representing the value.DavConstants.UNDEFINED_TIMEOUT
is used as default value if no header is available or if the parsing fails.- Specified by:
getTimeout
in interfaceDavServletRequest
- Returns:
- milliseconds indicating length of the timeout.
- See Also:
-
DavServletRequest.getTimeout()
TimeoutHeader.parse(jakarta.servlet.http.HttpServletRequest, long)
-
getLockToken
Retrieve the lock token from the 'Lock-Token' header.- Specified by:
getLockToken
in interfaceDavServletRequest
- Returns:
- String representing the lock token sent in the Lock-Token header.
- Throws:
IllegalArgumentException
- If the value has not the correct format.- See Also:
-
getRequestDocument
Description copied from interface:DavServletRequest
Parse the Xml request body and return aDocument
.- Specified by:
getRequestDocument
in interfaceDavServletRequest
- Returns:
- Document representing the Xml request body or
null
if no request body is present. - Throws:
DavException
- If the request body cannot be parsed into an Xml Document.- See Also:
-
getPropFindType
Returns the type of PROPFIND as indicated by the request body.- Specified by:
getPropFindType
in interfaceDavServletRequest
- Returns:
- type of the PROPFIND request. Default value is
allprops
- Throws:
DavException
- If the propfind type could not be determined due to an invalid request body.- See Also:
-
getPropFindProperties
Returns the set of properties requested by the PROPFIND body or an empty set if thetype
is either 'allprop' or 'propname'.- Specified by:
getPropFindProperties
in interfaceDavServletRequest
- Returns:
- set of properties requested by the PROPFIND body or an empty set.
- Throws:
DavException
- In case of invalid request body- See Also:
-
getRequestContentCodings
- Specified by:
getRequestContentCodings
in interfaceContentCodingAwareRequest
- Returns:
- content codings used in request
-
getAcceptableCodings
- Specified by:
getAcceptableCodings
in interfaceContentCodingAwareRequest
- Returns:
- value suitable for Accept response field
-
getPropPatchChangeList
Return aList
of property change operations. Each entry is either of typeDavPropertyName
, indicating a <remove> operation, or of typeDavProperty
, indicating a <set> operation. Note that ordering is significant here.- Specified by:
getPropPatchChangeList
in interfaceDavServletRequest
- Returns:
- the list of change operations entries in the PROPPATCH request body
- Throws:
DavException
- In case of invalid request body- See Also:
-
getLockInfo
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. TheLockInfo
then only provides timeout and isDeep property and returns true onLockInfo.isRefreshLock()
- Specified by:
getLockInfo
in interfaceDavServletRequest
- Returns:
- lock info object or
null
if an error occurred while parsing the request body. - Throws:
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.- See Also:
-
matchesIfHeader
Test if the if header matches the given resource. The comparison is made with theresource href
and the token returned from an exclusive write lock present on the resource.
NOTE: If either the If header or the resource isnull
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 anull
lock token (e.g. for security reasons) or a lock token that does not match, the method will return false.- Specified by:
matchesIfHeader
in interfaceDavServletRequest
- Parameters:
resource
- Webdav resources being operated on- Returns:
- true if the test is successful and the preconditions for the request processing are fulfilled.
- See Also:
-
DavServletRequest.matchesIfHeader(DavResource)
IfHeader.matches(String, String, String)
DavResource.hasLock(org.apache.jackrabbit.webdav.lock.Type, org.apache.jackrabbit.webdav.lock.Scope)
ActiveLock.getToken()
-
matchesIfHeader
Description copied from interface:DavServletRequest
Returns true, if theIf header
present with the request matches to the given href, token and eTag.- Specified by:
matchesIfHeader
in interfaceDavServletRequest
- Returns:
- true, if the test is successful, false otherwise.
- See Also:
-
DavServletRequest.matchesIfHeader(String, String, String)
IfHeader.matches(String, String, String)
-
getTransactionId
Description copied from interface:org.apache.jackrabbit.webdav.transaction.TransactionDavServletRequest
Retrieve the transaction id from theTransactionId header
.- Specified by:
getTransactionId
in interfaceorg.apache.jackrabbit.webdav.transaction.TransactionDavServletRequest
- Returns:
- transaction id as present in the
TransactionId header
ornull
. - See Also:
-
TransactionDavServletRequest.getTransactionId()
-
getTransactionInfo
public org.apache.jackrabbit.webdav.transaction.TransactionInfo getTransactionInfo() throws DavExceptionDescription copied from interface:org.apache.jackrabbit.webdav.transaction.TransactionDavServletRequest
Retrieve the 'transactioninfo' request body that must be included with the UNLOCK request of a transaction lock. If the request body is does not provide the information required (either because it is missing or the Xml is not valid)null
is returned.- Specified by:
getTransactionInfo
in interfaceorg.apache.jackrabbit.webdav.transaction.TransactionDavServletRequest
- Returns:
TransactionInfo
object encapsulating the 'transactioninfo' Xml element present in the request body ornull
if no body is present or if it could not be parsed.- Throws:
DavException
- if an invalid request body is present.- See Also:
-
TransactionDavServletRequest.getTransactionInfo()
-
getSubscriptionId
Description copied from interface:org.apache.jackrabbit.webdav.observation.ObservationDavServletRequest
Return theSubscriptionId header
ornull
if no such header is present.- Specified by:
getSubscriptionId
in interfaceorg.apache.jackrabbit.webdav.observation.ObservationDavServletRequest
- Returns:
- the
SubscriptionId header
- See Also:
-
ObservationDavServletRequest.getSubscriptionId()
-
getPollTimeout
public long getPollTimeout()Description copied from interface:org.apache.jackrabbit.webdav.observation.ObservationDavServletRequest
Returns thePollTimeout header
or 0 (zero) if no such header is present.- Specified by:
getPollTimeout
in interfaceorg.apache.jackrabbit.webdav.observation.ObservationDavServletRequest
- Returns:
- milliseconds indicating length of the poll timeout.
- See Also:
-
ObservationDavServletRequest.getPollTimeout()
-
getSubscriptionInfo
public org.apache.jackrabbit.webdav.observation.SubscriptionInfo getSubscriptionInfo() throws DavExceptionDescription copied from interface:org.apache.jackrabbit.webdav.observation.ObservationDavServletRequest
Return aSubscriptionInfo
object representing the subscription info present in the SUBSCRIBE request body ornull
if retrieving the subscription info fails.- Specified by:
getSubscriptionInfo
in interfaceorg.apache.jackrabbit.webdav.observation.ObservationDavServletRequest
- Returns:
- subscription info object encapsulating the SUBSCRIBE request body
or
null
if the subscription info cannot be built. - Throws:
DavException
- if an invalid request body was encountered.- See Also:
-
ObservationDavServletRequest.getSubscriptionInfo()
-
getOrderingType
Description copied from interface:org.apache.jackrabbit.webdav.ordering.OrderingDavServletRequest
Returns theOrdering-Type header
.- Specified by:
getOrderingType
in interfaceorg.apache.jackrabbit.webdav.ordering.OrderingDavServletRequest
- Returns:
- the String value of the
Ordering-Type header
. - See Also:
-
OrderingDavServletRequest.getOrderingType()
-
getPosition
public org.apache.jackrabbit.webdav.ordering.Position getPosition()Description copied from interface:org.apache.jackrabbit.webdav.ordering.OrderingDavServletRequest
Return aPosition
object encapsulating thePosition header
field ornull
if no Position header is present or does not contain a valid format.- Specified by:
getPosition
in interfaceorg.apache.jackrabbit.webdav.ordering.OrderingDavServletRequest
- Returns:
Position
object encapsulating thePosition header
- See Also:
-
OrderingDavServletRequest.getPosition()
-
getOrderPatch
Description copied from interface:org.apache.jackrabbit.webdav.ordering.OrderingDavServletRequest
Return aOrderPatch
object encapsulating the request body of an ORDERPATCH request ornull
if the request body was either missing or could not be parsed.- Specified by:
getOrderPatch
in interfaceorg.apache.jackrabbit.webdav.ordering.OrderingDavServletRequest
- Returns:
OrderPatch
object representing the orderpatch request body ornull
if the- Throws:
DavException
- See Also:
-
OrderingDavServletRequest.getOrderPatch()
-
getLabel
Description copied from interface:org.apache.jackrabbit.webdav.version.DeltaVServletRequest
Returns the Label header ornull
- Specified by:
getLabel
in interfaceorg.apache.jackrabbit.webdav.version.DeltaVServletRequest
- Returns:
- label header or
null
- See Also:
-
DeltaVServletRequest.getLabel()
-
getLabelInfo
Description copied from interface:org.apache.jackrabbit.webdav.version.DeltaVServletRequest
Return the request body asLabelInfo
object ornull
if parsing the request body or the creation of the label info failed.- Specified by:
getLabelInfo
in interfaceorg.apache.jackrabbit.webdav.version.DeltaVServletRequest
- Returns:
LabelInfo
object ornull
- Throws:
DavException
- in case of an invalid request body- See Also:
-
DeltaVServletRequest.getLabelInfo()
-
getMergeInfo
Description copied from interface:org.apache.jackrabbit.webdav.version.DeltaVServletRequest
Return the request body asMergeInfo
object ornull
if the creation failed due to invalid format.- Specified by:
getMergeInfo
in interfaceorg.apache.jackrabbit.webdav.version.DeltaVServletRequest
- Returns:
MergeInfo
object ornull
- Throws:
DavException
- in case of an invalid request body- See Also:
-
DeltaVServletRequest.getMergeInfo()
-
getUpdateInfo
Description copied from interface:org.apache.jackrabbit.webdav.version.DeltaVServletRequest
Parses the UPDATE request body a build the correspondingUpdateInfo
object. If the request body is missing or does not of the required formatnull
is returned.- Specified by:
getUpdateInfo
in interfaceorg.apache.jackrabbit.webdav.version.DeltaVServletRequest
- Returns:
- the parsed update request body or
null
- Throws:
DavException
- in case of an invalid request body- See Also:
-
DeltaVServletRequest.getUpdateInfo()
-
getReportInfo
Description copied from interface:org.apache.jackrabbit.webdav.version.DeltaVServletRequest
Returns the request body and the Depth header asReportInfo
object. The default depth, if noDepth header
, isDavConstants.DEPTH_0
. If the request body could not be parsed into anElement
null
is returned.- Specified by:
getReportInfo
in interfaceorg.apache.jackrabbit.webdav.version.DeltaVServletRequest
- Returns:
ReportInfo
ornull
- Throws:
DavException
- in case of an invalid request body- See Also:
-
DeltaVServletRequest.getReportInfo()
-
getOptionsInfo
Description copied from interface:org.apache.jackrabbit.webdav.version.DeltaVServletRequest
Returns theOptionsInfo
present with the request ornull
.- Specified by:
getOptionsInfo
in interfaceorg.apache.jackrabbit.webdav.version.DeltaVServletRequest
- Returns:
OptionsInfo
ornull
- Throws:
DavException
- in case of an invalid request body- See Also:
-
DeltaVServletRequest.getOptionsInfo()
-
getRebindInfo
Description copied from interface:org.apache.jackrabbit.webdav.bind.BindServletRequest
Returns theRebindInfo
present with the request- Specified by:
getRebindInfo
in interfaceorg.apache.jackrabbit.webdav.bind.BindServletRequest
- Returns:
RebindInfo
object- Throws:
DavException
- in case of an invalid or missing request body- See Also:
-
BindServletRequest.getRebindInfo()
-
getUnbindInfo
Description copied from interface:org.apache.jackrabbit.webdav.bind.BindServletRequest
Returns theUnbindInfo
present with the request- Specified by:
getUnbindInfo
in interfaceorg.apache.jackrabbit.webdav.bind.BindServletRequest
- Returns:
UnbindInfo
object- Throws:
DavException
- in case of an invalid or missing request body- See Also:
-
BindServletRequest.getUnbindInfo()
-
getBindInfo
Description copied from interface:org.apache.jackrabbit.webdav.bind.BindServletRequest
Returns theBindInfo
present with the request- Specified by:
getBindInfo
in interfaceorg.apache.jackrabbit.webdav.bind.BindServletRequest
- Returns:
BindInfo
object- Throws:
DavException
- in case of an invalid or missing request body- See Also:
-
BindServletRequest.getBindInfo()
-
getAuthType
- Specified by:
getAuthType
in interfacejakarta.servlet.http.HttpServletRequest
-
getCookies
public jakarta.servlet.http.Cookie[] getCookies()- Specified by:
getCookies
in interfacejakarta.servlet.http.HttpServletRequest
-
getDateHeader
- Specified by:
getDateHeader
in interfacejakarta.servlet.http.HttpServletRequest
-
getHeader
- Specified by:
getHeader
in interfacejakarta.servlet.http.HttpServletRequest
-
getHeaders
- Specified by:
getHeaders
in interfacejakarta.servlet.http.HttpServletRequest
-
getHeaderNames
- Specified by:
getHeaderNames
in interfacejakarta.servlet.http.HttpServletRequest
-
getIntHeader
- Specified by:
getIntHeader
in interfacejakarta.servlet.http.HttpServletRequest
-
getMethod
- Specified by:
getMethod
in interfacejakarta.servlet.http.HttpServletRequest
-
getPathInfo
- Specified by:
getPathInfo
in interfacejakarta.servlet.http.HttpServletRequest
-
getPathTranslated
- Specified by:
getPathTranslated
in interfacejakarta.servlet.http.HttpServletRequest
-
getContextPath
- Specified by:
getContextPath
in interfacejakarta.servlet.http.HttpServletRequest
-
getQueryString
- Specified by:
getQueryString
in interfacejakarta.servlet.http.HttpServletRequest
-
getRemoteUser
- Specified by:
getRemoteUser
in interfacejakarta.servlet.http.HttpServletRequest
-
isUserInRole
- Specified by:
isUserInRole
in interfacejakarta.servlet.http.HttpServletRequest
-
getUserPrincipal
- Specified by:
getUserPrincipal
in interfacejakarta.servlet.http.HttpServletRequest
-
getRequestedSessionId
- Specified by:
getRequestedSessionId
in interfacejakarta.servlet.http.HttpServletRequest
-
getRequestURI
- Specified by:
getRequestURI
in interfacejakarta.servlet.http.HttpServletRequest
-
getRequestURL
- Specified by:
getRequestURL
in interfacejakarta.servlet.http.HttpServletRequest
-
getServletPath
- Specified by:
getServletPath
in interfacejakarta.servlet.http.HttpServletRequest
-
getSession
public jakarta.servlet.http.HttpSession getSession(boolean b) - Specified by:
getSession
in interfacejakarta.servlet.http.HttpServletRequest
-
getSession
public jakarta.servlet.http.HttpSession getSession()- Specified by:
getSession
in interfacejakarta.servlet.http.HttpServletRequest
-
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()- Specified by:
isRequestedSessionIdValid
in interfacejakarta.servlet.http.HttpServletRequest
-
isRequestedSessionIdFromCookie
public boolean isRequestedSessionIdFromCookie()- Specified by:
isRequestedSessionIdFromCookie
in interfacejakarta.servlet.http.HttpServletRequest
-
isRequestedSessionIdFromURL
public boolean isRequestedSessionIdFromURL()- Specified by:
isRequestedSessionIdFromURL
in interfacejakarta.servlet.http.HttpServletRequest
-
getAttribute
- Specified by:
getAttribute
in interfacejakarta.servlet.ServletRequest
-
getAttributeNames
- Specified by:
getAttributeNames
in interfacejakarta.servlet.ServletRequest
-
getCharacterEncoding
- Specified by:
getCharacterEncoding
in interfacejakarta.servlet.ServletRequest
-
setCharacterEncoding
- Specified by:
setCharacterEncoding
in interfacejakarta.servlet.ServletRequest
- Throws:
UnsupportedEncodingException
-
getContentLength
public int getContentLength()- Specified by:
getContentLength
in interfacejakarta.servlet.ServletRequest
-
getContentType
- Specified by:
getContentType
in interfacejakarta.servlet.ServletRequest
-
getInputStream
- Specified by:
getInputStream
in interfacejakarta.servlet.ServletRequest
- Throws:
IOException
-
getParameter
- Specified by:
getParameter
in interfacejakarta.servlet.ServletRequest
-
getParameterNames
- Specified by:
getParameterNames
in interfacejakarta.servlet.ServletRequest
-
getParameterValues
- Specified by:
getParameterValues
in interfacejakarta.servlet.ServletRequest
-
getParameterMap
- Specified by:
getParameterMap
in interfacejakarta.servlet.ServletRequest
-
getProtocol
- Specified by:
getProtocol
in interfacejakarta.servlet.ServletRequest
-
getScheme
- Specified by:
getScheme
in interfacejakarta.servlet.ServletRequest
-
getServerName
- Specified by:
getServerName
in interfacejakarta.servlet.ServletRequest
-
getServerPort
public int getServerPort()- Specified by:
getServerPort
in interfacejakarta.servlet.ServletRequest
-
getReader
- Specified by:
getReader
in interfacejakarta.servlet.ServletRequest
- Throws:
IOException
-
getRemoteAddr
- Specified by:
getRemoteAddr
in interfacejakarta.servlet.ServletRequest
-
getRemoteHost
- Specified by:
getRemoteHost
in interfacejakarta.servlet.ServletRequest
-
setAttribute
- Specified by:
setAttribute
in interfacejakarta.servlet.ServletRequest
-
removeAttribute
- Specified by:
removeAttribute
in interfacejakarta.servlet.ServletRequest
-
getLocale
- Specified by:
getLocale
in interfacejakarta.servlet.ServletRequest
-
getLocales
- Specified by:
getLocales
in interfacejakarta.servlet.ServletRequest
-
isSecure
public boolean isSecure()- Specified by:
isSecure
in interfacejakarta.servlet.ServletRequest
-
getRequestDispatcher
- Specified by:
getRequestDispatcher
in interfacejakarta.servlet.ServletRequest
-
getRemotePort
public int getRemotePort()- Specified by:
getRemotePort
in interfacejakarta.servlet.ServletRequest
-
getLocalName
- Specified by:
getLocalName
in interfacejakarta.servlet.ServletRequest
-
getLocalAddr
- Specified by:
getLocalAddr
in interfacejakarta.servlet.ServletRequest
-
getLocalPort
public int getLocalPort()- Specified by:
getLocalPort
in interfacejakarta.servlet.ServletRequest
-
changeSessionId
- Specified by:
changeSessionId
in interfacejakarta.servlet.http.HttpServletRequest
-
authenticate
public boolean authenticate(jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException - Specified by:
authenticate
in interfacejakarta.servlet.http.HttpServletRequest
- Throws:
IOException
jakarta.servlet.ServletException
-
login
- Specified by:
login
in interfacejakarta.servlet.http.HttpServletRequest
- Throws:
jakarta.servlet.ServletException
-
logout
public void logout() throws jakarta.servlet.ServletException- Specified by:
logout
in interfacejakarta.servlet.http.HttpServletRequest
- Throws:
jakarta.servlet.ServletException
-
getParts
public Collection<jakarta.servlet.http.Part> getParts() throws IOException, jakarta.servlet.ServletException- Specified by:
getParts
in interfacejakarta.servlet.http.HttpServletRequest
- Throws:
IOException
jakarta.servlet.ServletException
-
getPart
public jakarta.servlet.http.Part getPart(String name) throws IOException, jakarta.servlet.ServletException - Specified by:
getPart
in interfacejakarta.servlet.http.HttpServletRequest
- Throws:
IOException
jakarta.servlet.ServletException
-
upgrade
public <T extends jakarta.servlet.http.HttpUpgradeHandler> T upgrade(Class<T> handlerClass) throws IOException, jakarta.servlet.ServletException - Specified by:
upgrade
in interfacejakarta.servlet.http.HttpServletRequest
- Throws:
IOException
jakarta.servlet.ServletException
-
getContentLengthLong
public long getContentLengthLong()- Specified by:
getContentLengthLong
in interfacejakarta.servlet.ServletRequest
-
getServletContext
public jakarta.servlet.ServletContext getServletContext()- Specified by:
getServletContext
in interfacejakarta.servlet.ServletRequest
-
startAsync
- Specified by:
startAsync
in interfacejakarta.servlet.ServletRequest
- Throws:
IllegalStateException
-
startAsync
public jakarta.servlet.AsyncContext startAsync(jakarta.servlet.ServletRequest servletRequest, jakarta.servlet.ServletResponse servletResponse) throws IllegalStateException - Specified by:
startAsync
in interfacejakarta.servlet.ServletRequest
- Throws:
IllegalStateException
-
isAsyncStarted
public boolean isAsyncStarted()- Specified by:
isAsyncStarted
in interfacejakarta.servlet.ServletRequest
-
isAsyncSupported
public boolean isAsyncSupported()- Specified by:
isAsyncSupported
in interfacejakarta.servlet.ServletRequest
-
getAsyncContext
public jakarta.servlet.AsyncContext getAsyncContext()- Specified by:
getAsyncContext
in interfacejakarta.servlet.ServletRequest
-
getDispatcherType
public jakarta.servlet.DispatcherType getDispatcherType()- Specified by:
getDispatcherType
in interfacejakarta.servlet.ServletRequest
-
getServletConnection
public jakarta.servlet.ServletConnection getServletConnection()- Specified by:
getServletConnection
in interfacejakarta.servlet.ServletRequest
-
getProtocolRequestId
- Specified by:
getProtocolRequestId
in interfacejakarta.servlet.ServletRequest
-
getRequestId
- Specified by:
getRequestId
in interfacejakarta.servlet.ServletRequest
-