クラス MetaWebApi

java.lang.Object
org.iplass.mtp.impl.metadata.BaseRootMetaData
org.iplass.mtp.impl.webapi.MetaWebApi
すべての実装されたインタフェース:
Serializable, org.iplass.mtp.impl.definition.DefinableMetaData<WebApiDefinition>, org.iplass.mtp.impl.metadata.MetaData, org.iplass.mtp.impl.metadata.RootMetaData

public class MetaWebApi extends org.iplass.mtp.impl.metadata.BaseRootMetaData implements org.iplass.mtp.impl.definition.DefinableMetaData<WebApiDefinition>
WebAPI メタデータ
関連項目:
  • フィールド詳細

  • コンストラクタの詳細

    • MetaWebApi

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

    • getMaxFileSize

      public Long getMaxFileSize()
    • setMaxFileSize

      public void setMaxFileSize(Long maxFileSize)
    • getMaxRequestBodySize

      public Long getMaxRequestBodySize()
    • setMaxRequestBodySize

      public void setMaxRequestBodySize(Long maxRequestBodySize)
    • getAllowRequestContentTypes

      public String[] getAllowRequestContentTypes()
    • setAllowRequestContentTypes

      public void setAllowRequestContentTypes(String[] allowRequestContentTypes)
    • getOauthScopes

      public String[] getOauthScopes()
    • setOauthScopes

      public void setOauthScopes(String[] oauthScopes)
    • isSupportBearerToken

      public boolean isSupportBearerToken()
    • setSupportBearerToken

      public void setSupportBearerToken(boolean supportBearerToken)
    • getState

      public StateType getState()
    • setState

      public void setState(StateType state)
      WebAPIをStatelessとして呼び出すか否かを設定します。 デフォルトは、StateType.STATEFULです。
      パラメータ:
      state -
    • isNeedTrustedAuthenticate

      public boolean isNeedTrustedAuthenticate()
    • setNeedTrustedAuthenticate

      public void setNeedTrustedAuthenticate(boolean needTrustedAuthenticate)
    • getAccessControlAllowOrigin

      public String getAccessControlAllowOrigin()
    • setAccessControlAllowOrigin

      public void setAccessControlAllowOrigin(String accessControlAllowOrigin)
    • isAccessControlAllowCredentials

      public boolean isAccessControlAllowCredentials()
    • setAccessControlAllowCredentials

      public void setAccessControlAllowCredentials(boolean accessControlAllowCredentials)
    • getResponseType

      public String getResponseType()
    • setResponseType

      public void setResponseType(String responseType)
    • isSynchronizeOnSession

      public boolean isSynchronizeOnSession()
    • setSynchronizeOnSession

      public void setSynchronizeOnSession(boolean synchronizeOnSession)
    • isCheckXRequestedWithHeader

      public boolean isCheckXRequestedWithHeader()
    • setCheckXRequestedWithHeader

      public void setCheckXRequestedWithHeader(boolean isCheckXRequestedWithHeader)
    • getTokenCheck

      public MetaWebApiTokenCheck getTokenCheck()
    • setTokenCheck

      public void setTokenCheck(MetaWebApiTokenCheck tokenCheck)
    • isPrivilaged

      @Deprecated public boolean isPrivilaged()
      推奨されていません。
      isPrivileged() を使用してください。
    • setPrivilaged

      @Deprecated public void setPrivilaged(boolean isPrivilaged)
      推奨されていません。
      setPrivileged(boolean) を使用してください。
    • isPrivileged

      public boolean isPrivileged()
    • setPrivileged

      public void setPrivileged(boolean isPrivileged)
    • isPublicWebApi

      public boolean isPublicWebApi()
    • setPublicWebApi

      public void setPublicWebApi(boolean isPublicWebApi)
    • createRuntime

      public MetaWebApi.WebApiRuntime createRuntime(org.iplass.mtp.impl.metadata.MetaDataConfig metaDataConfig)
      定義:
      createRuntime インタフェース内 org.iplass.mtp.impl.metadata.RootMetaData
    • copy

      public MetaWebApi copy()
      定義:
      copy インタフェース内 org.iplass.mtp.impl.metadata.MetaData
      定義:
      copy インタフェース内 org.iplass.mtp.impl.metadata.RootMetaData
    • getCommand

      public org.iplass.mtp.impl.command.MetaCommand getCommand()
    • setCommand

      public void setCommand(org.iplass.mtp.impl.command.MetaCommand command)
    • getWebApiParamMap

      public MetaWebApiParamMap[] getWebApiParamMap()
    • setWebApiParamMap

      public void setWebApiParamMap(MetaWebApiParamMap[] webApiParamMap)
    • setResults

      public void setResults(String[] results)
    • getResults

      public String[] getResults()
    • getAccepts

      public RequestType[] getAccepts()
    • setAccepts

      public void setAccepts(RequestType[] accepts)
    • getMethods

      public MethodType[] getMethods()
    • setMethods

      public void setMethods(MethodType[] methods)
    • getRestJsonParameterName

      public String getRestJsonParameterName()
    • setRestJsonParameterName

      public void setRestJsonParameterName(String restJsonParameterName)
    • getRestJsonParameterType

      public Class<?> getRestJsonParameterType()
    • setRestJsonParameterType

      public void setRestJsonParameterType(Class<?> restJsonParameterType)
    • getRestJsonAcceptableContentTypes

      public String[] getRestJsonAcceptableContentTypes()
      REST JSON として受付可能な Conteent-Type を取得します
      戻り値:
      Content-Type 配列
    • setRestJsonAcceptableContentTypes

      public void setRestJsonAcceptableContentTypes(String[] acceptableContentTypes)
      REST JSON として受付可能な Conteent-Type を設定します
      パラメータ:
      acceptableContentTypes - Content-Type 配列
    • getRestXmlParameterName

      public String getRestXmlParameterName()
    • setRestXmlParameterName

      public void setRestXmlParameterName(String restXmlParameterName)
    • getRestXmlParameterType

      public Class<?> getRestXmlParameterType()
    • setRestXmlParameterType

      public void setRestXmlParameterType(Class<?> restXmlParameterType)
    • getRestXmlAcceptableContentTypes

      public String[] getRestXmlAcceptableContentTypes()
      REST XML として受付可能な Content-Type を取得します
      戻り値:
      Content-Type 配列
    • setRestXmlAcceptableContentTypes

      public void setRestXmlAcceptableContentTypes(String[] acceptableContentTypes)
      REST XML として受付可能な Content-Type を設定します
      パラメータ:
      acceptableContentTypes - Content-Type 配列
    • getCacheControlType

      public CacheControlType getCacheControlType()
    • setCacheControlType

      public void setCacheControlType(CacheControlType cacheControlType)
    • getCacheControlMaxAge

      public long getCacheControlMaxAge()
    • setCacheControlMaxAge

      public void setCacheControlMaxAge(long cacheControlMaxAge)
    • currentConfig

      public WebApiDefinition currentConfig()
      定義:
      currentConfig インタフェース内 org.iplass.mtp.impl.definition.DefinableMetaData<WebApiDefinition>
    • applyConfig

      public void applyConfig(WebApiDefinition definition)
      定義:
      applyConfig インタフェース内 org.iplass.mtp.impl.definition.DefinableMetaData<WebApiDefinition>