## Uses of Interface
com.holonplatform.http.rest.RestClient.RequestDefinition

- Packages that use RestClient.RequestDefinition
  Package | Description
  --- | ---
  com.holonplatform.http.rest |

- - ### Uses of RestClient.RequestDefinition in com.holonplatform.http.rest

    Methods in com.holonplatform.http.rest that return RestClient.RequestDefinition
    Modifier and Type | Method and Description
    --- | ---
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`accept(MediaType... mediaTypes)` Set the accepted response media types using `MediaType` enumeration.
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`accept(String... mediaTypes)` Set the accepted response media types.
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`acceptCharset(Charset... charsets)` Set the acceptable charsets.
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`acceptCharset(String... charsets)` Set the acceptable charsets.
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`acceptEncoding(String... encodings)` Set the acceptable encodings.
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`acceptLanguage(Locale... locales)` Set the acceptable languages.
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`acceptLanguage(String... locales)` Set the acceptable languages.
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`authorizationBasic(String username, String password)` Add an `HttpHeaders.AUTHORIZATION` header to request with scheme `HttpHeaders.SCHEME_BASIC` using given username and password.
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`authorizationBearer(String bearerToken)` Add an `HttpHeaders.AUTHORIZATION` header to request with scheme `HttpHeaders.SCHEME_BEARER` using given bearer token.
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`cacheControl(CacheControl cacheControl)` Set the Cache-Control header.
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`header(String name, String... values)` Add a request header.
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`path(String path)` Append given `path` to the request URI.
    `<P extends Property> RestClient.RequestDefinition` | RestClient.RequestDefinition.`propertySet(Iterable<P> properties)` Use given `Property` set to perform invocation.
    `<P extends Property> RestClient.RequestDefinition` | RestClient.RequestDefinition.`propertySet(P... properties)` Use given `Property` set to perform invocation.
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`queryParameter(String name, Object... values)` Add a query parameter to the request URI.
    `RestClient.RequestDefinition` | RestClient.`request()` Create a new request definition, to be used to configure request and invoke response.
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`resolve(Map<String,Object> nameAndValues)` Resolve one or more a URI templates in the request URI using supplied name-value pairs.
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`resolve(String name, Object value)` Resolve a URI template with given `name` in the request URI using a supplied value.
    `default RestClient.RequestDefinition` | RestClient.RequestDefinition.`target(String baseUri)` Set request base URI.
    `RestClient.RequestDefinition` | RestClient.RequestDefinition.`target(URI baseUri)` Set request base URI.

    Methods in com.holonplatform.http.rest with parameters of type RestClient.RequestDefinition
    Modifier and Type | Method and Description
    --- | ---
    `<T,R> ResponseEntity<T>` | RestClient.Invoker.`invoke(RestClient.RequestDefinition requestDefinition, HttpMethod method, RequestEntity<R> requestEntity, ResponseType<T> responseType, boolean onlySuccessfulStatusCode)` Invoke request using current given `request` definition.

Copyright © 2017 The Holon Platform. All rights reserved.