Package sk.antons.sbutils.rest
Class RestTemplateClient.Request
java.lang.Object
sk.antons.sbutils.rest.RestTemplateClient.Request
- Enclosing class:
- RestTemplateClient
RestTemplateClient builder
-
Method Summary
Modifier and TypeMethodDescriptionaccept(org.springframework.http.MediaType... value) bearerAuth(String token) voidcall()<T> T<T> Tcall(org.springframework.core.ParameterizedTypeReference<T> type) contentType(org.springframework.http.MediaType value) headers(org.springframework.http.HttpHeaders value)
-
Method Details
-
path
-
content
-
headers
-
header
-
contentType
-
accept
-
basicAuth
-
basicAuth
-
bearerAuth
-
call
public void call() -
call
-
call
public <T> T call(org.springframework.core.ParameterizedTypeReference<T> type)
-