|
||||||||||
| 前 次 | フレームあり フレームなし | |||||||||
| HttpMethod を使用しているパッケージ | |
|---|---|
| net.jp.saf.sastruts.method | |
| net.jp.saf.sastruts.method.enums | |
| net.jp.saf.sastruts.method.helpers | |
| net.jp.saf.sastruts.method.helpers.impl | |
| net.jp.saf.sastruts.method.impl | |
| net.jp.saf.sastruts.method での HttpMethod の使用 |
|---|
| HttpMethod として宣言されている net.jp.saf.sastruts.method のフィールド | |
|---|---|
HttpMethod[] |
CheckResult.allows
許可されていたHTTPメソッド |
| HttpMethod 型のパラメータを持つ net.jp.saf.sastruts.method のメソッド | |
|---|---|
CheckResult |
HttpMethodChecker.check(HttpServletRequest request,
HttpMethod[] allows,
ExtensionHeaderBehavior extensionHeaderBehavior)
HTTPメソッドのチェックを行います. |
String |
HttpMethodChecker.handleError(HttpServletRequest request,
HttpServletResponse response,
HttpMethod[] allowed,
String method)
チェックエラー時の処理を行います. |
static CheckResult |
CheckResult.ng(String method,
HttpMethod[] allows)
チェックNGを表すインスタンスを生成します. |
static CheckResult |
CheckResult.ok(String method,
HttpMethod[] allows)
チェックOKを表すインスタンスを生成します. |
| net.jp.saf.sastruts.method.enums での HttpMethod の使用 |
|---|
| HttpMethod を返す net.jp.saf.sastruts.method.enums のメソッド | |
|---|---|
static HttpMethod |
HttpMethod.valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。 |
static HttpMethod[] |
HttpMethod.values()
この列挙型の定数を含む配列を宣言されている順序で返します。 |
| net.jp.saf.sastruts.method.helpers での HttpMethod の使用 |
|---|
| HttpMethod 型のパラメータを持つ net.jp.saf.sastruts.method.helpers のメソッド | |
|---|---|
String |
ErrorHandler.error(HttpServletRequest request,
HttpServletResponse response,
HttpMethod[] allowed,
String method)
エラー処理を行います. |
| net.jp.saf.sastruts.method.helpers.impl での HttpMethod の使用 |
|---|
| HttpMethod 型のパラメータを持つ net.jp.saf.sastruts.method.helpers.impl のメソッド | |
|---|---|
protected String |
AbstractErrorHandler.allowHeaderValue(HttpMethod[] methods)
重複無しで、かつREST_CRUDのようなenumをHTTPメソッドに展開してカンマ区切りで返します。 |
String |
ThrowExceptionErrorHandler.error(HttpServletRequest request,
HttpServletResponse response,
HttpMethod[] allowed,
String method)
エラー処理を行います. |
String |
NotImplementedErrorHandler.error(HttpServletRequest request,
HttpServletResponse response,
HttpMethod[] allowed,
String method)
エラー処理を行います. |
String |
MethodNotAllowedErrorHandler.error(HttpServletRequest request,
HttpServletResponse response,
HttpMethod[] allowed,
String method)
エラー処理を行います. |
protected void |
AbstractErrorHandler.throwMethodNotAllowedRuntimeException(HttpMethod[] allowed,
String method,
Throwable cause)
MethodNotAllowedRuntimeExceptionの例外を発生させます. |
| net.jp.saf.sastruts.method.impl での HttpMethod の使用 |
|---|
| HttpMethod として宣言されている net.jp.saf.sastruts.method.impl のフィールド | |
|---|---|
protected HttpMethod[] |
HttpMethodCheckerImpl.defaultAllows
checkのallowsがnullだった時の許可メソッド. |
protected HttpMethod[] |
HttpMethodCheckerImpl.defaultAnnotationAllows
checkのallowsが空(length=0)だった時の許可メソッド. |
| HttpMethod 型のパラメータを持つ net.jp.saf.sastruts.method.impl のメソッド | |
|---|---|
CheckResult |
HttpMethodCheckerImpl.check(HttpServletRequest request,
HttpMethod[] allows,
ExtensionHeaderBehavior extensionHeaderBehavior)
HTTPメソッドのチェックを行います. |
String |
HttpMethodCheckerImpl.handleError(HttpServletRequest request,
HttpServletResponse response,
HttpMethod[] allowed,
String method)
チェックエラー時の処理を行います. |
| HttpMethod 型の型引数を持つ net.jp.saf.sastruts.method.impl のメソッドパラメータ | |
|---|---|
void |
HttpMethodCheckerImpl.setDefaultAllows(List<HttpMethod> defaultAllows)
HttpMethodLimitが付いて無いメソッドに対しての、デフォルトチェックメソッドを設定します. |
void |
HttpMethodCheckerImpl.setDefaultAnnotationAllows(List<HttpMethod> defaultAnnotationAllows)
HttpMethodLimitの、value省略時のデフォルトチェックメソッドを設定します. |
|
||||||||||
| 前 次 | フレームあり フレームなし | |||||||||