public class HTTPConfiguration extends Object
Constructor and Description |
---|
HTTPConfiguration() |
Modifier and Type | Method and Description |
---|---|
List<HTTPHeader> |
headers()
Get the headers value.
|
HTTPMethod |
method()
Get the method value.
|
List<Integer> |
validStatusCodes()
Get the validStatusCodes value.
|
HTTPConfiguration |
withHeaders(List<HTTPHeader> headers)
Set the headers value.
|
HTTPConfiguration |
withMethod(HTTPMethod method)
Set the method value.
|
HTTPConfiguration |
withValidStatusCodes(List<Integer> validStatusCodes)
Set the validStatusCodes value.
|
public HTTPMethod method()
public HTTPConfiguration withMethod(HTTPMethod method)
method
- the method value to setpublic List<HTTPHeader> headers()
public HTTPConfiguration withHeaders(List<HTTPHeader> headers)
headers
- the headers value to setpublic List<Integer> validStatusCodes()
public HTTPConfiguration withValidStatusCodes(List<Integer> validStatusCodes)
validStatusCodes
- the validStatusCodes value to setCopyright © 2019. All rights reserved.