protected static class HttpParameters.Builder extends java.lang.Object implements HttpParameters.UriParameter, HttpParameters.ProcedureParameter, HttpParameters.InboundHeadersParameter, HttpParameters.Build
| Constructor and Description |
|---|
Builder(java.lang.String library) |
| Modifier and Type | Method and Description |
|---|---|
HttpParameters |
build()
Build the final
HttpParameters for the API call. |
HttpParameters.Build |
extendedInboundHeaders(ExtendedInboundHeaders extendedInboundHeaders)
Set the inbound headers on the HTTP call.
|
HttpParameters.Build |
inboundHeaders(InboundHeaders inboundHeaders)
Set the inbound headers on the HTTP call.
|
HttpParameters.Build |
noInboundHeaders()
No inbound headers.
|
HttpParameters.InboundHeadersParameter |
procedure(java.lang.String procedure)
Set the HTTP method for the call.
|
HttpParameters.ProcedureParameter |
uri(java.net.URI uri)
Set the URI of the external call.
|
public HttpParameters.ProcedureParameter uri(java.net.URI uri)
HttpParameters.UriParameteruri in interface HttpParameters.UriParameteruri - the URI of the external callpublic HttpParameters.InboundHeadersParameter procedure(java.lang.String procedure)
HttpParameters.ProcedureParameterprocedure in interface HttpParameters.ProcedureParameterprocedure - the HTTP method for the callpublic HttpParameters.Build inboundHeaders(InboundHeaders inboundHeaders)
HttpParameters.InboundHeadersParameterinboundHeaders in interface HttpParameters.InboundHeadersParameterinboundHeaders - the inbound headers for the HTTP callpublic HttpParameters.Build extendedInboundHeaders(ExtendedInboundHeaders extendedInboundHeaders)
HttpParameters.InboundHeadersParameterextendedInboundHeaders in interface HttpParameters.InboundHeadersParameterextendedInboundHeaders - the inbound headers for the HTTP callpublic HttpParameters.Build noInboundHeaders()
HttpParameters.InboundHeadersParameternoInboundHeaders in interface HttpParameters.InboundHeadersParameterpublic HttpParameters build()
HttpParameters.BuildHttpParameters for the API call.build in interface HttpParameters.Build