Class RequestOptions.Builder

  • Enclosing class:
    RequestOptions

    public static class RequestOptions.Builder
    extends java.lang.Object
    Builder inner class for fluent construction of RequestOptions
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • header

        public RequestOptions.Builder header​(java.lang.String name,
                                             java.lang.String value)
        Add a request header
        Parameters:
        name -
        value -
        Returns:
      • parseResource

        public RequestOptions.Builder parseResource​(boolean flag)
        Set the parseResource flag
        Parameters:
        flag -
        Returns:
      • build

        public RequestOptions build()
        Instantiate a RequestOptions instance using the current state of this builder
        Returns: