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 |
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.UriParameter
uri
in interface HttpParameters.UriParameter
uri
- the URI of the external callpublic HttpParameters.InboundHeadersParameter procedure(java.lang.String procedure)
HttpParameters.ProcedureParameter
procedure
in interface HttpParameters.ProcedureParameter
procedure
- the HTTP method for the callpublic HttpParameters.Build inboundHeaders(InboundHeaders inboundHeaders)
HttpParameters.InboundHeadersParameter
inboundHeaders
in interface HttpParameters.InboundHeadersParameter
inboundHeaders
- the inbound headers for the HTTP callpublic HttpParameters.Build noInboundHeaders()
HttpParameters.InboundHeadersParameter
noInboundHeaders
in interface HttpParameters.InboundHeadersParameter
public HttpParameters build()
HttpParameters.Build
HttpParameters
for the API call.build
in interface HttpParameters.Build