类 OptionsInfoRequest

java.lang.Object
com.obs.services.model.GenericRequest
com.obs.services.model.OptionsInfoRequest
直接已知子类:
BucketMetadataInfoRequest

public class OptionsInfoRequest extends GenericRequest
Parameters in a bucket or object preflight request
  • 构造器详细资料

    • OptionsInfoRequest

      public OptionsInfoRequest()
    • OptionsInfoRequest

      public OptionsInfoRequest(String bucketName)
  • 方法详细资料

    • getOrigin

      public String getOrigin()
      Obtain the origin of the preflight request.
      返回:
      Origin of the preflight request
    • setOrigin

      public void setOrigin(String origin)
      Set the origin of the preflight request.
      参数:
      origin - Origin of the preflight request
    • getRequestMethod

      public List<String> getRequestMethod()
      Obtain the list of allowed cross-origin request methods.
      返回:
      List of allowed cross-origin request methods
    • setRequestMethod

      public void setRequestMethod(List<String> requestMethod)
      Set the list of allowed cross-origin request methods.
      参数:
      requestMethod - List of allowed cross-origin request methods
    • getRequestHeaders

      public List<String> getRequestHeaders()
      Obtain the list of allowed request headers.
      返回:
      List of allowed request headers
    • setRequestHeaders

      public void setRequestHeaders(List<String> requestHeaders)
      Set the list of allowed request headers.
      参数:
      requestHeaders - List of allowed request headers
    • toString

      public String toString()
      覆盖:
      toString 在类中 GenericRequest