public class NablarchHttpServletRequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper
Modifier and Type | Class and Description |
---|---|
static class |
NablarchHttpServletRequestWrapper.HttpSessionWrapper
サーブレットセッションのラッパー
|
static class |
NablarchHttpServletRequestWrapper.PostParameterReadError
ポストパラメータの読み込みに失敗したことを表す実行時例外。
|
Constructor and Description |
---|
NablarchHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest delegate)
コンストラクタ
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHeader(java.lang.String name) |
java.util.Map<java.lang.String,java.lang.String> |
getHeaderMap()
HTTPヘッダーのMapを返す。
|
java.util.Enumeration<java.lang.String> |
getHeaderNames() |
java.lang.String |
getParameter(java.lang.String name) |
java.util.Map<java.lang.String,java.lang.String[]> |
getParameterMap() |
java.util.Enumeration<java.lang.String> |
getParameterNames() |
java.lang.String[] |
getParameterValues(java.lang.String name) |
javax.servlet.ServletRequest |
getRequest() |
java.util.Map<java.lang.String,java.lang.Object> |
getScope()
リクエストスコープへの参照を返す。
|
NablarchHttpServletRequestWrapper.HttpSessionWrapper |
getSession() |
NablarchHttpServletRequestWrapper.HttpSessionWrapper |
getSession(boolean create) |
NablarchHttpServletRequestWrapper |
setHeaderMap(java.util.Map<java.lang.String,java.lang.String> headerMap)
HTTPヘッダーを設定する。
|
NablarchHttpServletRequestWrapper |
setParamMap(java.util.Map<java.lang.String,java.lang.String[]> params)
リクエストパラメータを設定する。
|
NablarchHttpServletRequestWrapper |
setScope(java.util.Map<java.lang.String,java.lang.Object> scope)
リクエストスコープを設定する。
|
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout, upgrade
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
public NablarchHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest delegate)
delegate
- ラップ対象のリクエストオブジェクトpublic java.util.Map<java.lang.String,java.lang.String> getHeaderMap()
public NablarchHttpServletRequestWrapper setHeaderMap(java.util.Map<java.lang.String,java.lang.String> headerMap)
headerMap
- HTTPヘッダーのMappublic NablarchHttpServletRequestWrapper setParamMap(java.util.Map<java.lang.String,java.lang.String[]> params)
params
- リクエストパラメータpublic java.util.Map<java.lang.String,java.lang.Object> getScope()
public NablarchHttpServletRequestWrapper setScope(java.util.Map<java.lang.String,java.lang.Object> scope)
scope
- リクエストスコープ@Published(tag="architect") public NablarchHttpServletRequestWrapper.HttpSessionWrapper getSession()
getSession
in interface javax.servlet.http.HttpServletRequest
getSession
in class javax.servlet.http.HttpServletRequestWrapper
@Published(tag="architect") public NablarchHttpServletRequestWrapper.HttpSessionWrapper getSession(boolean create)
getSession
in interface javax.servlet.http.HttpServletRequest
getSession
in class javax.servlet.http.HttpServletRequestWrapper
@Published(tag="architect") public java.lang.String getHeader(java.lang.String name)
getHeader
in interface javax.servlet.http.HttpServletRequest
getHeader
in class javax.servlet.http.HttpServletRequestWrapper
public java.util.Enumeration<java.lang.String> getHeaderNames()
getHeaderNames
in interface javax.servlet.http.HttpServletRequest
getHeaderNames
in class javax.servlet.http.HttpServletRequestWrapper
public java.lang.String getParameter(java.lang.String name)
getParameter
in interface javax.servlet.ServletRequest
getParameter
in class javax.servlet.ServletRequestWrapper
public java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
getParameterMap
in interface javax.servlet.ServletRequest
getParameterMap
in class javax.servlet.ServletRequestWrapper
public java.util.Enumeration<java.lang.String> getParameterNames()
getParameterNames
in interface javax.servlet.ServletRequest
getParameterNames
in class javax.servlet.ServletRequestWrapper
public java.lang.String[] getParameterValues(java.lang.String name)
getParameterValues
in interface javax.servlet.ServletRequest
getParameterValues
in class javax.servlet.ServletRequestWrapper
public javax.servlet.ServletRequest getRequest()
getRequest
in class javax.servlet.ServletRequestWrapper