Class AuthenticationSteps.HttpRequestBuilder
java.lang.Object
org.springframework.vault.authentication.AuthenticationSteps.HttpRequestBuilder
- Enclosing class:
 - AuthenticationSteps
 
Builder for 
AuthenticationSteps.HttpRequest.- 
Method Summary
Modifier and TypeMethodDescriptionConfigure the result type and build theAuthenticationSteps.HttpRequestobject.Builder entry point toGETfromuriTemplate.Builder entry point toGETfromuri.method(HttpMethod method, String uriTemplate, String... uriVariables) Builder entry point to useHttpMethodforuriTemplate.Builder entry point toPOSTtouriTemplate.Builder entry point toPOSTtouri.Builder entry point toPUTtouriTemplate.Builder entry point toPUTtouri.with(HttpEntity<?> httpEntity) Configure a requestentity.with(HttpHeaders headers) Configure a requestheaders. 
- 
Method Details
- 
get
public static AuthenticationSteps.HttpRequestBuilder get(String uriTemplate, String... uriVariables) Builder entry point toGETfromuriTemplate.- Parameters:
 uriTemplate- must not be null or empty.uriVariables- the variables to expand the template.- Returns:
 - a new 
AuthenticationSteps.HttpRequestBuilder. 
 - 
get
Builder entry point toGETfromuri.- Parameters:
 uri- must not be null.- Returns:
 - a new 
AuthenticationSteps.HttpRequestBuilder. 
 - 
post
public static AuthenticationSteps.HttpRequestBuilder post(String uriTemplate, String... uriVariables) Builder entry point toPOSTtouriTemplate.- Parameters:
 uriTemplate- must not be null or empty.uriVariables- the variables to expand the template.- Returns:
 - a new 
AuthenticationSteps.HttpRequestBuilder. 
 - 
post
Builder entry point toPOSTtouri.- Parameters:
 uri- must not be null.- Returns:
 - a new 
AuthenticationSteps.HttpRequestBuilder. 
 - 
put
public static AuthenticationSteps.HttpRequestBuilder put(String uriTemplate, String... uriVariables) Builder entry point toPUTtouriTemplate.- Parameters:
 uriTemplate- must not be null or empty.uriVariables- the variables to expand the template.- Returns:
 - a new 
AuthenticationSteps.HttpRequestBuilder. - Since:
 - 3.2
 
 - 
put
Builder entry point toPUTtouri.- Parameters:
 uri- must not be null.- Returns:
 - a new 
AuthenticationSteps.HttpRequestBuilder. - Since:
 - 3.2
 
 - 
method
public static AuthenticationSteps.HttpRequestBuilder method(HttpMethod method, String uriTemplate, String... uriVariables) Builder entry point to useHttpMethodforuriTemplate.- Parameters:
 uriTemplate- must not be null or empty.uriVariables- the variables to expand the template.- Returns:
 - a new 
AuthenticationSteps.HttpRequestBuilder. - Since:
 - 2.2
 
 - 
with
Configure a requestentity.- Parameters:
 httpEntity- must not be null.- Returns:
 - a new 
AuthenticationSteps.HttpRequestBuilder. 
 - 
with
Configure a requestheaders.- Parameters:
 headers- must not be null.- Returns:
 - a new 
AuthenticationSteps.HttpRequestBuilder. 
 - 
as
Configure the result type and build theAuthenticationSteps.HttpRequestobject.- Parameters:
 type- must not be null.- Returns:
 - the 
AuthenticationSteps.HttpRequestdefinition. 
 
 -