Package io.constructor.client.models
Class ResponseHeaders
java.lang.Object
io.constructor.client.models.ResponseHeaders
- Direct Known Subclasses:
AutocompleteResponse,SearchResponse
Base class that provides access to HTTP response headers. Abstract rather than an interface
because Java 7 does not support default methods, and we want to avoid duplicating the field and
method bodies in every response class.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ResponseHeaders
public ResponseHeaders()
-
-
Method Details
-
getHeaders
- Returns:
- the HTTP response headers
-
setHeaders
- Parameters:
headers- the HTTP response headers to set. If null, defaults to an empty map.
-