Package org.zalando.riptide
Interface RequestArguments
@API(status=STABLE)
public interface RequestArguments
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestArgumentscreate()<T> Optional<T>getAttribute(Attribute<T> attribute) getBody()org.springframework.http.HttpMethodgetRoute()getUri()replaceHeaders(Map<String, ? extends Collection<String>> headers) replaceQueryParams(Map<String, ? extends Collection<String>> queryParams) replaceUriVariables(List<Object> uriVariables) <T> RequestArgumentswithAttribute(Attribute<T> attribute, T value) withBaseUrl(URI baseUrl) withEntity(RequestArguments.Entity entity) withHeader(String name, String value) withHeaders(Map<String, ? extends Collection<String>> headers) withMethod(org.springframework.http.HttpMethod method) withoutHeader(String name) withoutQueryParam(String name) withQueryParam(String name, String value) withQueryParams(Map<String, ? extends Collection<String>> queryParams) withUriTemplate(String uriTemplate) withUrlResolution(UrlResolution resolution)
-
Method Details
-
getBaseUrl
URI getBaseUrl() -
getUrlResolution
UrlResolution getUrlResolution() -
getMethod
org.springframework.http.HttpMethod getMethod() -
getUriTemplate
String getUriTemplate() -
getUriVariables
-
getUri
URI getUri() -
getAttribute
-
getQueryParams
-
getRequestUri
URI getRequestUri() -
getHeaders
-
getBody
Object getBody() -
getEntity
RequestArguments.Entity getEntity() -
getRoute
Route getRoute() -
withBaseUrl
-
withUrlResolution
-
withMethod
-
withUriTemplate
-
replaceUriVariables
-
withUri
-
withAttribute
-
withQueryParam
-
withQueryParams
-
withoutQueryParam
-
replaceQueryParams
-
withHeader
-
withHeaders
-
withoutHeader
-
replaceHeaders
-
withBody
-
withEntity
-
withRoute
-
create
-