com.holonplatform.jaxrs.client.internal

## Class JaxrsRestClientOperations

- java.lang.Object
- - com.holonplatform.jaxrs.client.internal.JaxrsRestClientOperations

-     public final class JaxrsRestClientOperations
      extends Object

  JAX-RS RestClient operations support.
  Since:
    5.2.0

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Optional<javax.ws.rs.client.Entity<?>>` | `buildRequestEntity(com.holonplatform.http.rest.RequestEntity<?> requestEntity)` Build a jax-rs `Entity` from given request entity
    `static javax.ws.rs.client.WebTarget` | `configure(javax.ws.rs.client.Client client, com.holonplatform.http.rest.RestClientOperations.RequestConfiguration<?> request)` Configure a JAX-RS `WebTarget` using given request configuration.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### configure

          public static javax.ws.rs.client.WebTarget configure(javax.ws.rs.client.Client client,
                                                               com.holonplatform.http.rest.RestClientOperations.RequestConfiguration<?> request)

      Configure a JAX-RS `WebTarget` using given request configuration.
      Parameters:
        `client` - JAX-RS client
        `request` - Request configuration
      Returns:
        Configured WebTarget

    - #### buildRequestEntity

          public static Optional<javax.ws.rs.client.Entity<?>> buildRequestEntity(com.holonplatform.http.rest.RequestEntity<?> requestEntity)

      Build a jax-rs `Entity` from given request entity
      Parameters:
        `requestEntity` - Request entity
      Returns:
        jax-rs Entity

Copyright © 2019 The Holon Platform. All rights reserved.