Class Options


  • public class Options
    extends Object
    Request options.
    Since:
    4.15
    Author:
    hidebike712
    • Constructor Detail

      • Options

        public Options()
    • Method Detail

      • getHeaders

        public Map<String,​String> getHeaders()
        Get the custom request headers for a request. Note that the returned map is immutable.
        Returns:
        The custom request headers. Note that the returned map is immutable.
      • setHeaders

        public Options setHeaders​(Map<String,​String> headers)
        Set the custom request headers for a request.
        Parameters:
        headers - The custom request headers.
        Returns:
        this object.