|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
モック用のHttpServletRequest
のインターフェースです。
フィールドの概要 |
インタフェース javax.servlet.http.HttpServletRequest から継承したフィールド |
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
メソッドの概要 | |
void |
addCookie(Cookie cookie)
Cookie を追加します。 |
void |
addDateHeader(String name,
long value)
日付のヘッダーを追加します。 |
void |
addHeader(String name,
String value)
ヘッダを追加します。 |
void |
addIntHeader(String name,
int value)
int のヘッダを追加します。 |
void |
addParameter(String name,
String value)
パラメータを追加します。 |
void |
addParameter(String name,
String[] values)
配列のパラメータを追加します。 |
void |
setAuthType(String authType)
authType を設定します。 |
void |
setContentLength(int contentLength)
contentLength を設定します。 |
void |
setContentType(String contentType)
contentType を設定します。 |
void |
setLocalAddr(String localAddr)
ローカルアドレスを設定します。 |
void |
setLocale(Locale locale)
Locale を設定します。 |
void |
setLocalName(String localName)
ローカル名を設定します。 |
void |
setLocalPort(int localPort)
ローカル port を設定します。 |
void |
setMethod(String method)
メソッドを設定します。 |
void |
setParameter(String name,
String value)
パラメータを設定します。 |
void |
setParameter(String name,
String[] values)
配列のパラメータを設定します。 |
void |
setPathInfo(String pathInfo)
pathInfo を設定します。 |
void |
setPathTranslated(String pathTranslated)
pathTranslated を設定します。 |
void |
setProtocol(String protocol)
プロトコルを設定します。 |
void |
setQueryString(String queryString)
queryString を設定します。 |
void |
setRemoteAddr(String remoteAddr)
リモートアドレスを設定します。 |
void |
setRemoteHost(String remoteHost)
リモートホストを設定します。 |
void |
setRemotePort(int remotePort)
リモート port を設定します。 |
void |
setScheme(String scheme)
scheme を設定します。 |
void |
setServerName(String serverName)
サーバ名を設定します。 |
void |
setServerPort(int serverPort)
サーバの port を設定します。 |
メソッドの詳細 |
public void addParameter(String name, String value)
name
- value
- public void addParameter(String name, String[] values)
name
- values
- public void addCookie(Cookie cookie)
Cookie
を追加します。
cookie
- public void addHeader(String name, String value)
name
- value
- public void setAuthType(String authType)
authType
を設定します。
authType
- public void addDateHeader(String name, long value)
name
- value
- public void addIntHeader(String name, int value)
int
のヘッダを追加します。
name
- value
- public void setPathInfo(String pathInfo)
pathInfo
を設定します。
pathInfo
- public void setPathTranslated(String pathTranslated)
pathTranslated
を設定します。
pathTranslated
- public void setQueryString(String queryString)
queryString
を設定します。
queryString
- public void setContentLength(int contentLength)
contentLength
を設定します。
contentLength
- public void setContentType(String contentType)
contentType
を設定します。
contentType
- public void setParameter(String name, String value)
name
- value
- public void setParameter(String name, String[] values)
name
- values
- public void setProtocol(String protocol)
protocol
- public void setScheme(String scheme)
scheme
を設定します。
scheme
- public void setServerName(String serverName)
serverName
- public void setServerPort(int serverPort)
port
を設定します。
serverPort
- public void setRemoteAddr(String remoteAddr)
remoteAddr
- public void setRemoteHost(String remoteHost)
remoteHost
- public void setLocale(Locale locale)
Locale
を設定します。
locale
- public void setMethod(String method)
method
- public void setLocalAddr(String localAddr)
localAddr
- public void setLocalName(String localName)
localName
- public void setLocalPort(int localPort)
port
を設定します。
localPort
- public void setRemotePort(int remotePort)
port
を設定します。
remotePort
-
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |