com.obs.services.model

## 类 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()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getOrigin()` Obtain the origin of the preflight request.
    `List<String>` | `getRequestHeaders()` Obtain the list of allowed request headers.
    `List<String>` | `getRequestMethod()` Obtain the list of allowed cross-origin request methods.
    `void` | `setOrigin(String origin)` Set the origin of the preflight request.
    `void` | `setRequestHeaders(List<String> requestHeaders)` Set the list of allowed request headers.
    `void` | `setRequestMethod(List<String> requestMethod)` Set the list of allowed cross-origin request methods.
    `String` | `toString()`

    - ### 从类继承的方法 com.obs.services.model.GenericRequest

      `isRequesterPays, setRequesterPays`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 构造器详细资料

    - #### OptionsInfoRequest

          public OptionsInfoRequest()

  - ### 方法详细资料

    - #### 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`

Copyright © 2021. All rights reserved.