パッケージ 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>
  • コンストラクタの詳細

    • RequestRestriction

      public RequestRestriction()
  • メソッドの詳細

    • copy

      public RequestRestriction copy()
    • getAllowMethods

      public List<String> getAllowMethods()
    • setAllowMethods

      public void setAllowMethods(List<String> allowMethods)
    • getAllowContentTypes

      public List<String> getAllowContentTypes()
    • setAllowContentTypes

      public void setAllowContentTypes(List<String> allowContentTypes)
    • getCors

      public CorsConfig getCors()
    • setCors

      public void setCors(CorsConfig cors)
    • getMaxBodySize

      public Long getMaxBodySize()
    • setMaxBodySize

      public void setMaxBodySize(Long maxBodySize)
    • getMaxFileSize

      public Long getMaxFileSize()
    • setMaxFileSize

      public void setMaxFileSize(Long maxFileSize)
    • isForce

      public boolean isForce()
    • setForce

      public void setForce(boolean force)
    • getPathPattern

      public String getPathPattern()
    • setPathPattern

      public void setPathPattern(String pathPattern)
    • init

      public void init()
    • inited

      public void inited(WebFrontendService service, org.iplass.mtp.spi.Config config)
      定義:
      inited インタフェース内 org.iplass.mtp.spi.ServiceInitListener<WebFrontendService>
    • maxBodySize

      public long maxBodySize()
    • maxFileSize

      public long maxFileSize()
    • getPathPatternCompile

      public Pattern getPathPatternCompile()
    • destroyed

      public void destroyed()
      定義:
      destroyed インタフェース内 org.iplass.mtp.spi.ServiceInitListener<WebFrontendService>
    • isAllowedMethod

      public boolean isAllowedMethod(String requestMethod)
    • isAllowedContentType

      public boolean isAllowedContentType(String contentType)
    • isAllowedContentType

      public boolean isAllowedContentType(jakarta.ws.rs.core.MediaType contentType)