Interface IExtendedRequest
- All Superinterfaces:
- javax.servlet.http.HttpServletRequest,- javax.servlet.ServletRequest
- All Known Implementing Classes:
- DummyRequest
public interface IExtendedRequest
extends javax.servlet.http.HttpServletRequest
IExtendedRequest is an spi for websphere additions to the standard
 ServletRequest methods
- Since:
- WAS7.0
- 
Field SummaryFields inherited from interface javax.servlet.http.HttpServletRequestBASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddParameter(String name, String[] values) voidaggregateQueryStringParams(String additionalQueryString, boolean setQS) voidattributeAdded(String key, Object newVal) voidattributeRemoved(String key, Object oldVal) voidattributeReplaced(String key, Object oldVal) voiddeserializeInputStreamData(byte[][] input) voiddestroy()voidfinish()voidgetAllCookieValues(String cookieName) Get the values for the cookie specified.javax.servlet.AsyncContextbyte[]getCookieValueAsBytes(String cookieName) Returns a cookie value as bytesreturns url with encoded session information of the incoming requestgetInputStreamData(long maxAllowedLength) booleanReturns boolean that indicates if collaborators are running.Get the SessionAffinityContext for this requestbyte[]getSSLId()Returns incoming SSL session id of the request.returns sessionId that is being generated for this requestvoidvoidvoidremoveHeader(String header) voidbyte[][]Serialize the Map object of InputStreamData.voidsetAsyncStarted(boolean b) voidsetAsyncSupported(boolean asyncSupported) voidsetDispatcherType(javax.servlet.DispatcherType dispatcherType) voidsetInputStreamData(HashMap inStreamInfo) voidvoidsetQueryString(String qs) voidsetResponse(IExtendedResponse extResp) voidsetRunningCollaborators(boolean runningCollaborators) Sets boolean used to indicate to session manager if collaborators are running.voidSets SessionAffinityContext for this requestvoidsetSessionId(String id) Sets sessionId that is being generated for this requestvoidvoidlongsizeInputStreamData(Map isd) returns estimated size of serialized InputStreamData this code does not consider that the length in long overwraps.voidstart()Methods inherited from interface javax.servlet.http.HttpServletRequestauthenticate, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathTranslated, getRemoteUser, getRequestedSessionId, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logoutMethods inherited from interface javax.servlet.ServletRequestgetAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
- 
Method Details- 
getSSLIdbyte[] getSSLId()Returns incoming SSL session id of the request. Applicable only for requests over ssl
- 
getCookieValueAsBytesReturns a cookie value as bytes
- 
getAllCookieValuesGet the values for the cookie specified.- Parameters:
- name- the cookie name
- Returns:
- List of values associated with this cookie name.
 
- 
setSessionIdSets sessionId that is being generated for this request
- 
getUpdatedSessionIdString getUpdatedSessionId()returns sessionId that is being generated for this request
- 
setSessionAffinityContextSets SessionAffinityContext for this request- Parameters:
- SessionAffinityContext- object
 
- 
getSessionAffinityContextObject getSessionAffinityContext()Get the SessionAffinityContext for this request- Returns:
- SessionAffinityContext object
 
- 
getEncodedRequestURIString getEncodedRequestURI()returns url with encoded session information of the incoming request
- 
pushParameterStackvoid pushParameterStack()
- 
aggregateQueryStringParams
- 
removeQSFromListvoid removeQSFromList()
- 
getQueryStringString getQueryString()- Specified by:
- getQueryStringin interface- javax.servlet.http.HttpServletRequest
- Returns:
 
- 
setQueryString
- 
setRunningCollaboratorsvoid setRunningCollaborators(boolean runningCollaborators) Sets boolean used to indicate to session manager if collaborators are running.
- 
getRunningCollaboratorsboolean getRunningCollaborators()Returns boolean that indicates if collaborators are running. Used by session manager when session security integration is enabled.
- 
getReaderEncodingString getReaderEncoding()
- 
getIRequestIRequest getIRequest()
- 
attributeAdded
- 
attributeRemoved
- 
attributeReplaced
- 
addParameter
- 
setMethod
- 
setWebAppDispatcherContext
- 
getWebAppDispatcherContextIWebAppDispatcherContext getWebAppDispatcherContext()
- 
getResponseIExtendedResponse getResponse()
- 
setResponse
- 
initForNextRequest
- 
startvoid start()
- 
finishvoid finish() throws javax.servlet.ServletException- Throws:
- javax.servlet.ServletException
 
- 
destroyvoid destroy()
- 
getPathInfoString getPathInfo()- Specified by:
- getPathInfoin interface- javax.servlet.http.HttpServletRequest
 
- 
getRequestURIString getRequestURI()- Specified by:
- getRequestURIin interface- javax.servlet.http.HttpServletRequest
 
- 
removeHeader
- 
getAsyncContextjavax.servlet.AsyncContext getAsyncContext()- Specified by:
- getAsyncContextin interface- javax.servlet.ServletRequest
 
- 
closeResponseOutputvoid closeResponseOutput()
- 
setAsyncSupportedvoid setAsyncSupported(boolean asyncSupported) 
- 
finishAndDestroyConnectionContextvoid finishAndDestroyConnectionContext()
- 
setDispatcherTypevoid setDispatcherType(javax.servlet.DispatcherType dispatcherType) 
- 
setAsyncStartedvoid setAsyncStarted(boolean b) 
- 
getInputStreamData- Throws:
- IOException
 
- 
getInputStreamData- Throws:
- IOException
 
- 
setInputStreamData- Throws:
- IOException
 
- 
serializeInputStreamDatabyte[][] serializeInputStreamData(Map isd) throws IOException, UnsupportedEncodingException, IllegalStateException Serialize the Map object of InputStreamData. The format is as follows: byte[0][] : byte array of long value of INPUT_STREAM_CONTENT_DATA_LENGTH byte[1][] : the length of INPUT_STREAM_CONTENT_TYPE byte[2][] : the byte array of the value of INPUT_STREAM_CONTENT_TYPE if the length is zero, it only contains one byte data of which value is zero. byte[3...] : byte array of INPUT_STREAM_CONTENT_DATA (it could be multiple tWAS v9) byte[3] doesn't exist if the length is zero.
- 
deserializeInputStreamDataHashMap deserializeInputStreamData(byte[][] input) throws UnsupportedEncodingException, IllegalStateException 
- 
sizeInputStreamDatareturns estimated size of serialized InputStreamData this code does not consider that the length in long overwraps.
- 
setValuesIfMultiReadofPostdataEnabledvoid setValuesIfMultiReadofPostdataEnabled()
 
-