- TIBCO BusinessEvents®
- Standard
- HTTP
- Servlet
- Request

# HTTP.Servlet.Request

## Description

Functions to operate on HTTP servlet request objects.

## Functions

Name | Signature and Synopsis
--- | ---
`getCookieValue` | `String getCookieValue(Object[] allCookies, String cookieName)` Gets the cookie vlaue for the given cookie name
`getMethod` | `String getMethod(Object request)` Gets the servlet request method.
`getMultipartContent` | `Object getMultipartContent(Object request)` Gets the complete Multipart Content as a Map.
`getPartContent` | `Object getPartContent(Object multipartContent, String partName)` Gets the specified part of a Multipart content.
`getProtocol` | `String getProtocol(Object request)` Gets the protocol used by the servlet request.
`getRequestBrowserName` | `String getRequestBrowserName(Object request)` Gets the browser name from where the request is generated.
`getRequestContent` | `byte[] getRequestContent(Object request)` Gets the servlet request post data.
`getRequestCookies` | `Object[] getRequestCookies(Object request)` Get servlet request cookies
`getRequestHeader` | `String getRequestHeader(Object request, String headerName)` Gets a servlet request header value.
`getRequestHeaders` | `Object getRequestHeaders(Object request)` Get servlet request header names.
`getRequestParameter` | `String getRequestParameter(Object request, String paramName)` Gets a servlet request parameter value.
`getRequestParameterValues` | `String[] getRequestParameterValues(Object request, String paramName)` Gets the values of all the servlet request parameters.
`getRequestParameters` | `String getRequestParameters(Object request)` Gets the names of all the servlet request parameters.
`getRequestURI` | `String getRequestURI(Object request)` Get servlet request URI.
`getRequestorAddress` | `String getRequestorAddress(Object request)` Gets the address of the remote requestor.
`getServerName` | `String getServerName(Object request)` Gets the server name used in the request.
`getServerPort` | `int getServerPort(Object request)` Gets the port number.
`getServerScheme` | `String getServerScheme(Object request)` Gets the protocol name used in the request.
`getSession` | `Object getSession(Object request)` Get Http Session
`getSessionAttribute` | `Object getSessionAttribute(Object session, String key)` Get Http Session attribute
`getSessionAttributeNames` | `String[] getSessionAttributeNames(Object session)` Get Http Session attribute names
`getSessionId` | `String getSessionId(Object session)`
`invalidateSession` | `void invalidateSession(Object session)` Invalidate Http sesion
`removeSessionAttribute` | `void removeSessionAttribute(Object session, String key)` Remove Http Session attribute
`setSessionAttribute` | `void setSessionAttribute(Object session, String key, Object value)` Set Http Session timeout
`setSessionTimeout` | `void setSessionTimeout(Object session, int timeout)` Set Http Session timeout
`startAsync` | `Object startAsync(Object servletRequest)` Starts asynchronous processing of servlet requests.