Package org.alfresco.opencmis
Class CMISHttpServletRequest
java.lang.Object
jakarta.servlet.ServletRequestWrapper
jakarta.servlet.http.HttpServletRequestWrapper
org.alfresco.opencmis.CMISHttpServletRequest
- All Implemented Interfaces:
jakarta.servlet.http.HttpServletRequest,jakarta.servlet.ServletRequest
- Direct Known Subclasses:
PublicApiCMISHttpServletRequest
public class CMISHttpServletRequest
extends jakarta.servlet.http.HttpServletRequestWrapper
Wraps an OpenCMIS HttpServletRequest, mapping urls and adding servlet attributes specific to the Alfresco implementation of OpenCMIS.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BaseUrlGeneratorprotected CMISDispatcherRegistry.Bindingprotected Descriptorprotected Stringprotected Stringprotected Stringprotected org.springframework.extensions.webscripts.WebScriptRequestprotected StringFields inherited from interface jakarta.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH -
Constructor Summary
ConstructorsConstructorDescriptionCMISHttpServletRequest(org.springframework.extensions.webscripts.WebScriptRequest req, String serviceName, BaseUrlGenerator baseUrlGenerator, CMISDispatcherRegistry.Binding binding, Descriptor currentDescriptor, TenantAdminService tenantAdminService) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgetAttribute(String arg0) getParameter(String arg0) jakarta.servlet.http.HttpServletRequestMethods inherited from class jakarta.servlet.http.HttpServletRequestWrapper
authenticate, changeSessionId, getAuthType, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathTranslated, getRemoteUser, getRequestedSessionId, getRequestURL, getSession, getSession, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgradeMethods inherited from class jakarta.servlet.ServletRequestWrapper
getAsyncContext, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameterValues, getProtocol, getProtocolRequestId, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getRequestId, getScheme, getServerName, getServerPort, getServletConnection, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setCharacterEncoding, setRequest, startAsync, startAsyncMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.ServletRequest
getAsyncContext, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameterValues, getProtocol, getProtocolRequestId, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getRequestId, getScheme, getServerName, getServerPort, getServletConnection, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setCharacterEncoding, startAsync, startAsync
-
Field Details
-
req
protected org.springframework.extensions.webscripts.WebScriptRequest req -
networkId
-
operation
-
id
-
serviceName
-
baseUrlGenerator
-
binding
-
currentDescriptor
-
-
Constructor Details
-
CMISHttpServletRequest
public CMISHttpServletRequest(org.springframework.extensions.webscripts.WebScriptRequest req, String serviceName, BaseUrlGenerator baseUrlGenerator, CMISDispatcherRegistry.Binding binding, Descriptor currentDescriptor, TenantAdminService tenantAdminService)
-
-
Method Details
-
getRequest
public jakarta.servlet.http.HttpServletRequest getRequest()- Overrides:
getRequestin classjakarta.servlet.ServletRequestWrapper
-
addAttributes
protected void addAttributes() -
getAttribute
- Specified by:
getAttributein interfacejakarta.servlet.ServletRequest- Overrides:
getAttributein classjakarta.servlet.ServletRequestWrapper
-
getAttributeNames
- Specified by:
getAttributeNamesin interfacejakarta.servlet.ServletRequest- Overrides:
getAttributeNamesin classjakarta.servlet.ServletRequestWrapper
-
getParameter
- Specified by:
getParameterin interfacejakarta.servlet.ServletRequest- Overrides:
getParameterin classjakarta.servlet.ServletRequestWrapper
-
getParameterMap
- Specified by:
getParameterMapin interfacejakarta.servlet.ServletRequest- Overrides:
getParameterMapin classjakarta.servlet.ServletRequestWrapper
-
getParameterNames
- Specified by:
getParameterNamesin interfacejakarta.servlet.ServletRequest- Overrides:
getParameterNamesin classjakarta.servlet.ServletRequestWrapper
-
getContextPath
- Specified by:
getContextPathin interfacejakarta.servlet.http.HttpServletRequest- Overrides:
getContextPathin classjakarta.servlet.http.HttpServletRequestWrapper
-
getPathInfo
- Specified by:
getPathInfoin interfacejakarta.servlet.http.HttpServletRequest- Overrides:
getPathInfoin classjakarta.servlet.http.HttpServletRequestWrapper
-
getQueryString
- Specified by:
getQueryStringin interfacejakarta.servlet.http.HttpServletRequest- Overrides:
getQueryStringin classjakarta.servlet.http.HttpServletRequestWrapper
-
getRequestURI
- Specified by:
getRequestURIin interfacejakarta.servlet.http.HttpServletRequest- Overrides:
getRequestURIin classjakarta.servlet.http.HttpServletRequestWrapper
-
getServletPath
- Specified by:
getServletPathin interfacejakarta.servlet.http.HttpServletRequest- Overrides:
getServletPathin classjakarta.servlet.http.HttpServletRequestWrapper
-