Class StaplerRequest.StaplerRequestWrapperImpl
- All Implemented Interfaces:
HttpServletRequestWrapper.JavaxHttpServletRequestWrapper,ServletRequestWrapper.JavaxServletRequestWrapper,javax.servlet.http.HttpServletRequest,javax.servlet.ServletRequest,StaplerRequest,StaplerRequest.StaplerRequestWrapper
- Enclosing interface:
- StaplerRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.kohsuke.stapler.StaplerRequest
StaplerRequest.RenderOnDemandParameters, StaplerRequest.StaplerRequest2Wrapper, StaplerRequest.StaplerRequest2WrapperImpl, StaplerRequest.StaplerRequestWrapper, StaplerRequest.StaplerRequestWrapperImpl -
Field Summary
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(javax.servlet.http.HttpServletResponse response) <T> TData-bind from aJSONObjectto the given target type, by using introspection or constructor parameters injection.voidData-binds fromJSONObjectto the given object.<T> T<T> List<T>bindJSONToList(Class<T> type, Object src) Data-bind from eitherJSONObjectorJSONArrayto a list, by usingStaplerRequest.bindJSON(Class, JSONObject)as the lower-level mechanism.<T> TbindParameters(Class<T> type, String prefix) Instantiates a new object by injecting constructor parameters from the form parameters.<T> TbindParameters(Class<T> type, String prefix, int index) Works likeStaplerRequest.bindParameters(Class, String)but uses n-th value of all the parameters.voidbindParameters(Object bean) Binds form parameters to a bean by using introspection.voidbindParameters(Object bean, String prefix) Binds form parameters to a bean by using introspection.<T> List<T>bindParametersToList(Class<T> type, String prefix) Binds collection form parameters to beans by using introspection or constructor parameters injection.booleancheckIfModified(long timestampOfResource, StaplerResponse rsp) Checks "If-Modified-Since" header and returns false if the resource needs to be served.booleancheckIfModified(long timestampOfResource, StaplerResponse rsp, long expiration) booleancheckIfModified(Calendar timestampOfResource, StaplerResponse rsp) booleancheckIfModified(Date timestampOfResource, StaplerResponse rsp) createJavaScriptProxy(Object toBeExported) Exports the given Java object as a JavaScript proxy and returns a JavaScript expression to create a proxy on the client side.createJavaScriptProxyParameters(Object toBeExported) Exports the given Java object as a JavaScript proxy and returns the parameters needed to callmakeStaplerProxy.findAncestor(Class type) Finds the nearest ancestor that has the object of the given type, or null if not found.Finds the nearest ancestor whoseAncestor.getObject()matches the given object.<T> TfindAncestorObject(Class<T> type) Short forfindAncestor(type).getObject(), with proper handling for null de-reference.Returns a list of ancestor objects that lead to the "it" object.javax.servlet.AsyncContextgetAttribute(String name) Gets theBindInterceptorset for this request.Short cut for obtainingBoundObjectTableassociated with this webapp.intlongjavax.servlet.http.Cookie[]longgetDateHeader(String name) javax.servlet.DispatcherTypegetFileItem(String name) Obtains a commons-fileupload object that represents an uploaded file.org.apache.commons.fileupload2.core.FileItemgetFileItem2(String name) Obtains a commons-fileupload2 object that represents an uploaded file.getHeaders(String name) javax.servlet.http.HttpServletMappingjavax.servlet.ServletInputStreamintgetIntHeader(String name) intGets therequest URIof the original request, so that you can access the value even from JSP.Returns the same thing asStaplerRequest.getRestOfPath()but in the pre-decoded form, so all "%HH"s as present in the request URL is intact.getParameter(String name) String[]getParameterValues(String name) javax.servlet.http.PartCollection<javax.servlet.http.Part>getParts()getRealPath(String path) Gets the referer header (like "http://foobar.com/zot") or null.intjavax.servlet.RequestDispatchergetRequestDispatcher(String path) HttpServletRequest.getRequestURI()plus additional query string part, if it exists.HttpServletRequest.getRequestURL()plus additional query string part, if it exists.Returns the additional URL portion that wasn't used by the stapler, excluding the query string.Gets the part of the request URL from protocol up to the context path.intjavax.servlet.ServletContextReturns theServletContextobject given to the stapler dispatcher servlet.javax.servlet.http.HttpSessionjavax.servlet.http.HttpSessiongetSession(boolean create) Gets theStaplerinstance that this belongs to.net.sf.json.JSONObjectGets the content of the structured form submission.javax.servlet.RequestDispatcherConvenience method to callStaplerRequest.getView(Klass, String)withClass.javax.servlet.RequestDispatcherGets theRequestDispatcherthat represents a specific view for the given object.javax.servlet.RequestDispatcherGets theRequestDispatcherthat represents a specific view for the given class.Short forgetStapler().getWebApp()booleanhasParameter(String name) Short forgetParameter(name)!=nullbooleanbooleanbooleanReturns true if this request represents a server method call to a JavaScript proxy object.booleanbooleanbooleanbooleanbooleanisSecure()booleanbooleanisUserInRole(String role) voidvoidlogout()javax.servlet.http.PushBuildervoidremoveAttribute(String name) voidsetAttribute(String name, Object o) setBindInterceptor(BindInterceptor bindListener) setBindInterceptpr(BindInterceptor bindListener) setBindListener(BindInterceptor bindListener) voidjavax.servlet.AsyncContextjavax.servlet.AsyncContextstartAsync(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) jakarta.servlet.http.HttpServletRequestjakarta.servlet.ServletRequest<T extends javax.servlet.http.HttpUpgradeHandler>
T
-
Constructor Details
-
StaplerRequestWrapperImpl
-
-
Method Details
-
getAttribute
- Specified by:
getAttributein interfacejavax.servlet.ServletRequest
-
getAttributeNames
- Specified by:
getAttributeNamesin interfacejavax.servlet.ServletRequest
-
getCharacterEncoding
- Specified by:
getCharacterEncodingin interfacejavax.servlet.ServletRequest
-
setCharacterEncoding
- Specified by:
setCharacterEncodingin interfacejavax.servlet.ServletRequest- Throws:
UnsupportedEncodingException
-
getContentLength
public int getContentLength()- Specified by:
getContentLengthin interfacejavax.servlet.ServletRequest
-
getContentLengthLong
public long getContentLengthLong()- Specified by:
getContentLengthLongin interfacejavax.servlet.ServletRequest
-
getContentType
- Specified by:
getContentTypein interfacejavax.servlet.ServletRequest
-
getInputStream
- Specified by:
getInputStreamin interfacejavax.servlet.ServletRequest- Throws:
IOException
-
getParameter
- Specified by:
getParameterin interfacejavax.servlet.ServletRequest
-
getParameterNames
- Specified by:
getParameterNamesin interfacejavax.servlet.ServletRequest
-
getParameterValues
- Specified by:
getParameterValuesin interfacejavax.servlet.ServletRequest
-
getParameterMap
- Specified by:
getParameterMapin interfacejavax.servlet.ServletRequest
-
getProtocol
- Specified by:
getProtocolin interfacejavax.servlet.ServletRequest
-
getScheme
- Specified by:
getSchemein interfacejavax.servlet.ServletRequest
-
getServerName
- Specified by:
getServerNamein interfacejavax.servlet.ServletRequest
-
getServerPort
public int getServerPort()- Specified by:
getServerPortin interfacejavax.servlet.ServletRequest
-
getReader
- Specified by:
getReaderin interfacejavax.servlet.ServletRequest- Throws:
IOException
-
getRemoteAddr
- Specified by:
getRemoteAddrin interfacejavax.servlet.ServletRequest
-
getRemoteHost
- Specified by:
getRemoteHostin interfacejavax.servlet.ServletRequest
-
setAttribute
- Specified by:
setAttributein interfacejavax.servlet.ServletRequest
-
removeAttribute
- Specified by:
removeAttributein interfacejavax.servlet.ServletRequest
-
getLocale
- Specified by:
getLocalein interfacejavax.servlet.ServletRequest
-
getLocales
- Specified by:
getLocalesin interfacejavax.servlet.ServletRequest
-
isSecure
public boolean isSecure()- Specified by:
isSecurein interfacejavax.servlet.ServletRequest
-
getRequestDispatcher
- Specified by:
getRequestDispatcherin interfacejavax.servlet.ServletRequest
-
getRealPath
- Specified by:
getRealPathin interfacejavax.servlet.ServletRequest
-
getRemotePort
public int getRemotePort()- Specified by:
getRemotePortin interfacejavax.servlet.ServletRequest
-
getLocalName
- Specified by:
getLocalNamein interfacejavax.servlet.ServletRequest
-
getLocalAddr
- Specified by:
getLocalAddrin interfacejavax.servlet.ServletRequest
-
getLocalPort
public int getLocalPort()- Specified by:
getLocalPortin interfacejavax.servlet.ServletRequest
-
getStapler
Description copied from interface:StaplerRequestGets theStaplerinstance that this belongs to.- Specified by:
getStaplerin interfaceStaplerRequest
-
getWebApp
Description copied from interface:StaplerRequestShort forgetStapler().getWebApp()- Specified by:
getWebAppin interfaceStaplerRequest
-
getRestOfPath
Description copied from interface:StaplerRequestReturns the additional URL portion that wasn't used by the stapler, excluding the query string.For example, if the requested URL is "foo/bar/zot/abc?def=ghi" and "foo/bar" portion matched
bar.jsp, this method returns "/zot/abc".If this method is invoked from getters or
StaplerProxy.getTarget()during the object traversal, this method returns the path portion that is not yet processed.- Specified by:
getRestOfPathin interfaceStaplerRequest- Returns:
- can be empty string, but never null.
-
getOriginalRestOfPath
Description copied from interface:StaplerRequestReturns the same thing asStaplerRequest.getRestOfPath()but in the pre-decoded form, so all "%HH"s as present in the request URL is intact.- Specified by:
getOriginalRestOfPathin interfaceStaplerRequest
-
getServletContext
public javax.servlet.ServletContext getServletContext()Description copied from interface:StaplerRequestReturns theServletContextobject given to the stapler dispatcher servlet.- Specified by:
getServletContextin interfacejavax.servlet.ServletRequest- Specified by:
getServletContextin interfaceStaplerRequest
-
getRequestURIWithQueryString
Description copied from interface:StaplerRequestHttpServletRequest.getRequestURI()plus additional query string part, if it exists.- Specified by:
getRequestURIWithQueryStringin interfaceStaplerRequest
-
getRequestURLWithQueryString
Description copied from interface:StaplerRequestHttpServletRequest.getRequestURL()plus additional query string part, if it exists.- Specified by:
getRequestURLWithQueryStringin interfaceStaplerRequest
-
getView
Description copied from interface:StaplerRequestGets theRequestDispatcherthat represents a specific view for the given object. This support both JSP and Jelly.- Specified by:
getViewin interfaceStaplerRequestviewName- If this name is relative name like "foo.jsp" or "bar/zot.jelly", then the corresponding "side file" is searched by this name.For Jelly, this also accepts absolute path name that starts with '/', such as "/foo/bar/zot.jelly". In this case,
it.getClass().getClassLoader()is searched for this script.- Returns:
- null if neither JSP nor Jelly is not found by the given name.
- Throws:
IOException
-
getView
Description copied from interface:StaplerRequestConvenience method to callStaplerRequest.getView(Klass, String)withClass.- Specified by:
getViewin interfaceStaplerRequest- Throws:
IOException
-
getView
Description copied from interface:StaplerRequestGets theRequestDispatcherthat represents a specific view for the given class.Unlike
StaplerRequest.getView(Object, String), calling this request dispatcher doesn't set the "it" variable, sogetView(it.getClass(),viewName)andgetView(it,viewName)aren't the same thing.- Specified by:
getViewin interfaceStaplerRequest- Throws:
IOException
-
getRootPath
Description copied from interface:StaplerRequestGets the part of the request URL from protocol up to the context path. So typically it's something likehttp://foobar:8080/something- Specified by:
getRootPathin interfaceStaplerRequest
-
getReferer
Description copied from interface:StaplerRequestGets the referer header (like "http://foobar.com/zot") or null. This is just a convenience method.- Specified by:
getRefererin interfaceStaplerRequest
-
getAncestors
Description copied from interface:StaplerRequestReturns a list of ancestor objects that lead to the "it" object. The returned list containsAncestorobjects sorted in the order from root to the "it" object.For example, if the URL was "foo/bar/zot" and the "it" object was determined as
root.getFoo().getBar("zot"), then this list will contain the following 3 objects in this order:- the root object
- root.getFoo() object
- root.getFoo().getBar("zot") object (the "it" object)
- Specified by:
getAncestorsin interfaceStaplerRequest- Returns:
- list of
Ancestors. Can be empty, but always non-null.
-
findAncestor
Description copied from interface:StaplerRequestFinds the nearest ancestor that has the object of the given type, or null if not found.- Specified by:
findAncestorin interfaceStaplerRequest
-
findAncestorObject
Description copied from interface:StaplerRequestShort forfindAncestor(type).getObject(), with proper handling for null de-reference. This version is also type safe.- Specified by:
findAncestorObjectin interfaceStaplerRequest
-
findAncestor
Description copied from interface:StaplerRequestFinds the nearest ancestor whoseAncestor.getObject()matches the given object.- Specified by:
findAncestorin interfaceStaplerRequest
-
hasParameter
Description copied from interface:StaplerRequestShort forgetParameter(name)!=null- Specified by:
hasParameterin interfaceStaplerRequest
-
getOriginalRequestURI
Description copied from interface:StaplerRequestGets therequest URIof the original request, so that you can access the value even from JSP.- Specified by:
getOriginalRequestURIin interfaceStaplerRequest
-
checkIfModified
Description copied from interface:StaplerRequestChecks "If-Modified-Since" header and returns false if the resource needs to be served.This method can behave in three ways.
- If
timestampOfResourceis 0 or negative, this method just returns false. - If "If-Modified-Since" header is sent and if it's bigger than
timestampOfResource, then this method setsHttpServletResponse.SC_NOT_MODIFIEDas the response code and returns true. - Otherwise, "Last-Modified" header is added with
timestampOfResourcevalue, and this method returns false.
This method sends out the "Expires" header to force browser to re-validate all the time.
- Specified by:
checkIfModifiedin interfaceStaplerRequest- Parameters:
timestampOfResource- The time stamp of the resource.rsp- This object is updated accordingly to simplify processing.- Returns:
- false to indicate that the caller has to serve the actual resource.
true to indicate that the caller should just quit processing right there
(and send back
HttpServletResponse.SC_NOT_MODIFIED.
- If
-
checkIfModified
- Specified by:
checkIfModifiedin interfaceStaplerRequest- See Also:
-
checkIfModified
- Specified by:
checkIfModifiedin interfaceStaplerRequest- See Also:
-
checkIfModified
- Specified by:
checkIfModifiedin interfaceStaplerRequestexpiration- The number of milliseconds until the resource will "expire". Until it expires the browser will be allowed to cache it and serve it without checking back with the server. After it expires, the client will send conditional GET to check if the resource is actually modified or not. If 0, it will immediately expire.- See Also:
-
bindParameters
Description copied from interface:StaplerRequestBinds form parameters to a bean by using introspection. For example, if there's a parameter called 'foo' that has value 'abc', thenbean.setFoo('abc')will be invoked. This will be repeated for all parameters. Parameters that do not have corresponding setters will be simply ignored.Values are converted into the right type. See
ConvertUtils.convert(String, Class).- Specified by:
bindParametersin interfaceStaplerRequest- Parameters:
bean- The object which will be filled out.- See Also:
-
BeanUtils.setProperty(Object, String, Object)
-
bindParameters
Description copied from interface:StaplerRequestBinds form parameters to a bean by using introspection. This method works likeStaplerRequest.bindParameters(Object), but it performs a pre-processing on property names. Namely, only property names that start with the given prefix will be used for binding, and only the portion of the property name after the prefix is used. So for example, if the prefix is "foo.", then property name "foo.bar" with value "zot" will invokebean.setBar("zot").- Specified by:
bindParametersin interfaceStaplerRequest
-
bindParametersToList
Description copied from interface:StaplerRequestBinds collection form parameters to beans by using introspection or constructor parameters injection.This method works like
StaplerRequest.bindParameters(Object,String)andStaplerRequest.bindParameters(Class, String), but it assumes that form parameters have multiple-values, and use individual values to fill in multiple beans.For example, if
getParameterValues("foo")=={"abc","def"}andgetParameterValues("bar")=={"5","3"}, then this method will return two objects (the first with "abc" and "5", the second with "def" and "3".)- Specified by:
bindParametersToListin interfaceStaplerRequest- Parameters:
type- Type of the bean to be created. This class must have the default no-arg constructor.prefix- SeeStaplerRequest.bindParameters(Object, String)for details.- Returns:
- Can be empty but never null.
-
bindParameters
Description copied from interface:StaplerRequestInstantiates a new object by injecting constructor parameters from the form parameters.The given class must have a constructor annotated with '@stapler-constructor', and must be processed by the maven-stapler-plugin, so that the parameter names of the constructor is available at runtime.
The prefix is used to control the form parameter name. For example, if the prefix is "foo." and if the constructor is define as
Foo(String a, String b), then the constructor will be invoked asnew Foo(getParameter("foo.a"),getParameter("foo.b")).- Specified by:
bindParametersin interfaceStaplerRequest
-
bindParameters
Description copied from interface:StaplerRequestWorks likeStaplerRequest.bindParameters(Class, String)but uses n-th value of all the parameters.This is useful for creating multiple instances from repeated form fields.
- Specified by:
bindParametersin interfaceStaplerRequest
-
bindJSON
Description copied from interface:StaplerRequestData-bind from aJSONObjectto the given target type, by using introspection or constructor parameters injection.For example, if you have a constructor that looks like the following:
class Foo { @... and if JSONObject looks likeDataBoundConstructorpublic Foo(Integer x, String y, boolean z, Bar bar) { ... } } class Bar { @DataBoundConstructorpublic Bar(int x, int y) {} }{ y:"text", z:true, bar:{x:1,y:2}}then, this method returnsnew Foo(null,"text",true,new Bar(1,2))
Sub-typing: In the above example, a new instance of
Barwas created, but you can also create a subtype of Bar by having the '$class' property in JSON like this:class BarEx extends Bar { @DataBoundConstructorpublic BarEx(int a, int b, int c) {} } { y:"text", z:true, bar: { $class:"p.k.g.BarEx", a:1, b:2, c:3 } }The type that shows up in the constructor (
Barin this case) can be an interface or an abstract class.- Specified by:
bindJSONin interfaceStaplerRequest
-
bindJSON
Description copied from interface:StaplerRequestData-bind from one of the JSON object types (JSONObject,JSONArray,String,Integer, and so on) to the expected type given as an argument.- Specified by:
bindJSONin interfaceStaplerRequest- Parameters:
genericType- The generic type of the 'erasure' parameter.erasure- The expected type to convert the JSON argument to.json- One of the JSON value type.
-
bindJSON
Description copied from interface:StaplerRequestData-binds fromJSONObjectto the given object.This method is bit like
StaplerRequest.bindJSON(Class, JSONObject), except that this method populates an existing object, instead of creating a new instance.This method is also bit like
StaplerRequest.bindParameters(Object, String), in that it populates an existing object from a form submission, except that this method obtains data fromJSONObjectthus more structured, whereasStaplerRequest.bindParameters(Object, String)uses the map structure of the form submission.- Specified by:
bindJSONin interfaceStaplerRequest
-
bindJSONToList
Description copied from interface:StaplerRequestData-bind from eitherJSONObjectorJSONArrayto a list, by usingStaplerRequest.bindJSON(Class, JSONObject)as the lower-level mechanism.If the source is
JSONObject, the returned list will contain a single item. If it isJSONArray, each item will be bound. If it is null, then the list will be empty.- Specified by:
bindJSONToListin interfaceStaplerRequest
-
getBindInterceptor
Description copied from interface:StaplerRequestGets theBindInterceptorset for this request.- Specified by:
getBindInterceptorin interfaceStaplerRequest- See Also:
-
setBindListener
- Specified by:
setBindListenerin interfaceStaplerRequest
-
setBindInterceptpr
- Specified by:
setBindInterceptprin interfaceStaplerRequest
-
setBindInterceptor
- Specified by:
setBindInterceptorin interfaceStaplerRequest
-
getSubmittedForm
public net.sf.json.JSONObject getSubmittedForm() throws javax.servlet.ServletExceptionDescription copied from interface:StaplerRequestGets the content of the structured form submission.- Specified by:
getSubmittedFormin interfaceStaplerRequest- Throws:
javax.servlet.ServletException- See Also:
-
getFileItem2
public org.apache.commons.fileupload2.core.FileItem getFileItem2(String name) throws javax.servlet.ServletException, IOException Description copied from interface:StaplerRequestObtains a commons-fileupload2 object that represents an uploaded file.- Specified by:
getFileItem2in interfaceStaplerRequest- Returns:
- null if a file of the given form field name doesn't exist. This includes the case where the name corresponds to a simple form field (like textbox, checkbox, etc.)
- Throws:
javax.servlet.ServletExceptionIOException
-
getFileItem
Description copied from interface:StaplerRequestObtains a commons-fileupload object that represents an uploaded file.- Specified by:
getFileItemin interfaceStaplerRequest- Returns:
- null if a file of the given form field name doesn't exist. This includes the case where the name corresponds to a simple form field (like textbox, checkbox, etc.)
- Throws:
javax.servlet.ServletExceptionIOException
-
isJavaScriptProxyCall
public boolean isJavaScriptProxyCall()Description copied from interface:StaplerRequestReturns true if this request represents a server method call to a JavaScript proxy object.- Specified by:
isJavaScriptProxyCallin interfaceStaplerRequest
-
getBoundObjectTable
Description copied from interface:StaplerRequestShort cut for obtainingBoundObjectTableassociated with this webapp.- Specified by:
getBoundObjectTablein interfaceStaplerRequest
-
createJavaScriptProxy
Description copied from interface:StaplerRequestExports the given Java object as a JavaScript proxy and returns a JavaScript expression to create a proxy on the client side. Short cut forgetBoundObjectTable().bind(toBeExported).getProxyScript()- Specified by:
createJavaScriptProxyin interfaceStaplerRequest
-
createJavaScriptProxyParameters
Description copied from interface:StaplerRequestExports the given Java object as a JavaScript proxy and returns the parameters needed to callmakeStaplerProxy.- Specified by:
createJavaScriptProxyParametersin interfaceStaplerRequest
-
startAsync
public javax.servlet.AsyncContext startAsync()- Specified by:
startAsyncin interfacejavax.servlet.ServletRequest
-
startAsync
public javax.servlet.AsyncContext startAsync(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) - Specified by:
startAsyncin interfacejavax.servlet.ServletRequest
-
isAsyncStarted
public boolean isAsyncStarted()- Specified by:
isAsyncStartedin interfacejavax.servlet.ServletRequest
-
isAsyncSupported
public boolean isAsyncSupported()- Specified by:
isAsyncSupportedin interfacejavax.servlet.ServletRequest
-
getAsyncContext
public javax.servlet.AsyncContext getAsyncContext()- Specified by:
getAsyncContextin interfacejavax.servlet.ServletRequest
-
getDispatcherType
public javax.servlet.DispatcherType getDispatcherType()- Specified by:
getDispatcherTypein interfacejavax.servlet.ServletRequest
-
getAuthType
- Specified by:
getAuthTypein interfacejavax.servlet.http.HttpServletRequest
-
getCookies
public javax.servlet.http.Cookie[] getCookies()- Specified by:
getCookiesin interfacejavax.servlet.http.HttpServletRequest
-
getDateHeader
- Specified by:
getDateHeaderin interfacejavax.servlet.http.HttpServletRequest
-
getHeader
- Specified by:
getHeaderin interfacejavax.servlet.http.HttpServletRequest
-
getHeaders
- Specified by:
getHeadersin interfacejavax.servlet.http.HttpServletRequest
-
getHeaderNames
- Specified by:
getHeaderNamesin interfacejavax.servlet.http.HttpServletRequest
-
getIntHeader
- Specified by:
getIntHeaderin interfacejavax.servlet.http.HttpServletRequest
-
getHttpServletMapping
public javax.servlet.http.HttpServletMapping getHttpServletMapping()- Specified by:
getHttpServletMappingin interfacejavax.servlet.http.HttpServletRequest
-
getMethod
- Specified by:
getMethodin interfacejavax.servlet.http.HttpServletRequest
-
getPathInfo
- Specified by:
getPathInfoin interfacejavax.servlet.http.HttpServletRequest
-
getPathTranslated
- Specified by:
getPathTranslatedin interfacejavax.servlet.http.HttpServletRequest
-
newPushBuilder
public javax.servlet.http.PushBuilder newPushBuilder()- Specified by:
newPushBuilderin interfacejavax.servlet.http.HttpServletRequest
-
getContextPath
- Specified by:
getContextPathin interfacejavax.servlet.http.HttpServletRequest
-
getQueryString
- Specified by:
getQueryStringin interfacejavax.servlet.http.HttpServletRequest
-
getRemoteUser
- Specified by:
getRemoteUserin interfacejavax.servlet.http.HttpServletRequest
-
isUserInRole
- Specified by:
isUserInRolein interfacejavax.servlet.http.HttpServletRequest
-
getUserPrincipal
- Specified by:
getUserPrincipalin interfacejavax.servlet.http.HttpServletRequest
-
getRequestedSessionId
- Specified by:
getRequestedSessionIdin interfacejavax.servlet.http.HttpServletRequest
-
getRequestURI
- Specified by:
getRequestURIin interfacejavax.servlet.http.HttpServletRequest
-
getRequestURL
- Specified by:
getRequestURLin interfacejavax.servlet.http.HttpServletRequest
-
getServletPath
- Specified by:
getServletPathin interfacejavax.servlet.http.HttpServletRequest
-
getSession
public javax.servlet.http.HttpSession getSession(boolean create) - Specified by:
getSessionin interfacejavax.servlet.http.HttpServletRequest
-
getSession
public javax.servlet.http.HttpSession getSession()- Specified by:
getSessionin interfacejavax.servlet.http.HttpServletRequest
-
changeSessionId
- Specified by:
changeSessionIdin interfacejavax.servlet.http.HttpServletRequest
-
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()- Specified by:
isRequestedSessionIdValidin interfacejavax.servlet.http.HttpServletRequest
-
isRequestedSessionIdFromCookie
public boolean isRequestedSessionIdFromCookie()- Specified by:
isRequestedSessionIdFromCookiein interfacejavax.servlet.http.HttpServletRequest
-
isRequestedSessionIdFromURL
public boolean isRequestedSessionIdFromURL()- Specified by:
isRequestedSessionIdFromURLin interfacejavax.servlet.http.HttpServletRequest
-
isRequestedSessionIdFromUrl
public boolean isRequestedSessionIdFromUrl()- Specified by:
isRequestedSessionIdFromUrlin interfacejavax.servlet.http.HttpServletRequest
-
authenticate
public boolean authenticate(javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException - Specified by:
authenticatein interfacejavax.servlet.http.HttpServletRequest- Throws:
IOExceptionjavax.servlet.ServletException
-
login
- Specified by:
loginin interfacejavax.servlet.http.HttpServletRequest- Throws:
javax.servlet.ServletException
-
logout
public void logout() throws javax.servlet.ServletException- Specified by:
logoutin interfacejavax.servlet.http.HttpServletRequest- Throws:
javax.servlet.ServletException
-
getParts
public Collection<javax.servlet.http.Part> getParts() throws IOException, javax.servlet.ServletException- Specified by:
getPartsin interfacejavax.servlet.http.HttpServletRequest- Throws:
IOExceptionjavax.servlet.ServletException
-
getPart
public javax.servlet.http.Part getPart(String name) throws IOException, javax.servlet.ServletException - Specified by:
getPartin interfacejavax.servlet.http.HttpServletRequest- Throws:
IOExceptionjavax.servlet.ServletException
-
upgrade
- Specified by:
upgradein interfacejavax.servlet.http.HttpServletRequest
-
getTrailerFields
- Specified by:
getTrailerFieldsin interfacejavax.servlet.http.HttpServletRequest
-
isTrailerFieldsReady
public boolean isTrailerFieldsReady()- Specified by:
isTrailerFieldsReadyin interfacejavax.servlet.http.HttpServletRequest
-
toJakartaServletRequest
public jakarta.servlet.ServletRequest toJakartaServletRequest()- Specified by:
toJakartaServletRequestin interfaceServletRequestWrapper.JavaxServletRequestWrapper
-
toJakartaHttpServletRequest
public jakarta.servlet.http.HttpServletRequest toJakartaHttpServletRequest()- Specified by:
toJakartaHttpServletRequestin interfaceHttpServletRequestWrapper.JavaxHttpServletRequestWrapper
-
toStaplerRequest2
- Specified by:
toStaplerRequest2in interfaceStaplerRequest.StaplerRequestWrapper
-