withHeader method

FusionAuthRESTClient withHeader(
  1. String key,
  2. String value
)

Adds a header to the request.

@param key The name of the header. @param value The value of the header.

Implementation

FusionAuthRESTClient withHeader(String key, String value) {
  headers[key] = value;
  return this;
}