HTTP.Servlet.Request

Description

Functions to operate on HTTP servlet request objects.

Functions

NameSignature and Synopsis
getCookieValueString getCookieValue(Object[] allCookies, String cookieName)
Gets the cookie vlaue for the given cookie name
getMethodString getMethod(Object request)
Gets the servlet request method.
getMultipartContentObject getMultipartContent(Object request)
Gets the complete Multipart Content as a Map.
getPartContentObject getPartContent(Object multipartContent, String partName)
Gets the specified part of a Multipart content.
getProtocolString getProtocol(Object request)
Gets the protocol used by the servlet request.
getRequestBrowserNameString getRequestBrowserName(Object request)
Gets the browser name from where the request is generated.
getRequestContentbyte[] getRequestContent(Object request)
Gets the servlet request post data.
getRequestCookiesObject[] getRequestCookies(Object request)
Get servlet request cookies
getRequestHeaderString getRequestHeader(Object request, String headerName)
Gets a servlet request header value.
getRequestHeadersObject getRequestHeaders(Object request)
Get servlet request header names.
getRequestParameterString getRequestParameter(Object request, String paramName)
Gets a servlet request parameter value.
getRequestParameterValuesString[] getRequestParameterValues(Object request, String paramName)
Gets the values of all the servlet request parameters.
getRequestParametersString getRequestParameters(Object request)
Gets the names of all the servlet request parameters.
getRequestURIString getRequestURI(Object request)
Get servlet request URI.
getRequestorAddressString getRequestorAddress(Object request)
Gets the address of the remote requestor.
getServerNameString getServerName(Object request)
Gets the server name used in the request.
getServerPortint getServerPort(Object request)
Gets the port number.
getServerSchemeString getServerScheme(Object request)
Gets the protocol name used in the request.
getSessionObject getSession(Object request)
Get Http Session
getSessionAttributeObject getSessionAttribute(Object session, String key)
Get Http Session attribute
getSessionAttributeNamesString[] getSessionAttributeNames(Object session)
Get Http Session attribute names
getSessionIdString getSessionId(Object session)
invalidateSessionvoid invalidateSession(Object session)
Invalidate Http sesion
removeSessionAttributevoid removeSessionAttribute(Object session, String key)
Remove Http Session attribute
setSessionAttributevoid setSessionAttribute(Object session, String key, Object value)
Set Http Session timeout
setSessionTimeoutvoid setSessionTimeout(Object session, int timeout)
Set Http Session timeout
startAsyncObject startAsync(Object servletRequest)
Starts asynchronous processing of servlet requests.