パッケージ org.iplass.mtp.impl.web
クラス RequestRestriction
java.lang.Object
org.iplass.mtp.impl.web.RequestRestriction
- すべての実装されたインタフェース:
org.iplass.mtp.spi.ServiceInitListener<WebFrontendService>
public class RequestRestriction
extends Object
implements org.iplass.mtp.spi.ServiceInitListener<WebFrontendService>
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明copy()voidgetCors()voidinit()voidinited(WebFrontendService service, org.iplass.mtp.spi.Config config) booleanisAllowedContentType(jakarta.ws.rs.core.MediaType contentType) booleanisAllowedContentType(String contentType) booleanisAllowedMethod(String requestMethod) booleanisForce()longlongvoidsetAllowContentTypes(List<String> allowContentTypes) voidsetAllowMethods(List<String> allowMethods) voidsetCors(CorsConfig cors) voidsetForce(boolean force) voidsetMaxBodySize(Long maxBodySize) voidsetMaxFileSize(Long maxFileSize) voidsetPathPattern(String pathPattern)
-
コンストラクタの詳細
-
RequestRestriction
public RequestRestriction()
-
-
メソッドの詳細
-
copy
-
getAllowMethods
-
setAllowMethods
-
getAllowContentTypes
-
setAllowContentTypes
-
getCors
-
setCors
-
getMaxBodySize
-
setMaxBodySize
-
getMaxFileSize
-
setMaxFileSize
-
isForce
public boolean isForce() -
setForce
public void setForce(boolean force) -
getPathPattern
-
setPathPattern
-
init
public void init() -
inited
- 定義:
initedインタフェース内org.iplass.mtp.spi.ServiceInitListener<WebFrontendService>
-
maxBodySize
public long maxBodySize() -
maxFileSize
public long maxFileSize() -
getPathPatternCompile
-
destroyed
public void destroyed()- 定義:
destroyedインタフェース内org.iplass.mtp.spi.ServiceInitListener<WebFrontendService>
-
isAllowedMethod
-
isAllowedContentType
-
isAllowedContentType
public boolean isAllowedContentType(jakarta.ws.rs.core.MediaType contentType)
-