## Uses of Class
javax.ws.rs.client.Entity

- Packages that use Entity
  Package | Description
  --- | ---
  javax.ws.rs.client | The JAX-RS client API
  org.jboss.resteasy.client.jaxrs.internal |

- - ### Uses of Entity in javax.ws.rs.client

    Methods in javax.ws.rs.client that return Entity
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Entity<T>` | Entity.`entity(T entity, MediaType mediaType)` Create an entity using a supplied content media type.
    `static <T> Entity<T>` | Entity.`entity(T entity, MediaType mediaType, Annotation[] annotations)` Create an entity using a supplied content media type.
    `static <T> Entity<T>` | Entity.`entity(T entity, String mediaType)` Create an entity using a supplied content media type.
    `static <T> Entity<T>` | Entity.`entity(T entity, Variant variant)` Create an entity using a supplied content media type.
    `static <T> Entity<T>` | Entity.`entity(T entity, Variant variant, Annotation[] annotations)` Create an entity using a supplied content media type.
    `static Entity<Form>` | Entity.`form(Form form)` Create an "application/x-www-form-urlencoded" form entity.
    `static Entity<Form>` | Entity.`form(MultivaluedMap<String,String> formData)` Create an "application/x-www-form-urlencoded" form entity.
    `static <T> Entity<T>` | Entity.`html(T entity)` Create a "text/html" entity.
    `static <T> Entity<T>` | Entity.`json(T entity)` Create an "application/json" entity.
    `static <T> Entity<T>` | Entity.`text(T entity)` Create a "text/plain" entity.
    `static <T> Entity<T>` | Entity.`xhtml(T entity)` Create an "application/xhtml+xml" entity.
    `static <T> Entity<T>` | Entity.`xml(T entity)` Create an "application/xml" entity.

    Methods in javax.ws.rs.client with parameters of type Entity
    Modifier and Type | Method and Description
    --- | ---
    `Invocation` | Invocation.Builder.`build(String method, Entity<?> entity)` Build a request invocation using an arbitrary request method name and request entity.
    `Invocation` | Invocation.Builder.`buildPost(Entity<?> entity)` Build a POST request invocation.
    `Invocation` | Invocation.Builder.`buildPut(Entity<?> entity)` Build a PUT request invocation.
    `Response` | SyncInvoker.`method(String name, Entity<?> entity)` Invoke an arbitrary method for the current request synchronously.
    `Future<Response>` | AsyncInvoker.`method(String name, Entity<?> entity)` Invoke an arbitrary method for the current request asynchronously.
    `<T> T` | SyncInvoker.`method(String name, Entity<?> entity, Class<T> responseType)` Invoke an arbitrary method for the current request synchronously.
    `<T> Future<T>` | AsyncInvoker.`method(String name, Entity<?> entity, Class<T> responseType)` Invoke an arbitrary method for the current request asynchronously.
    `<T> T` | SyncInvoker.`method(String name, Entity<?> entity, GenericType<T> responseType)` Invoke an arbitrary method for the current request synchronously.
    `<T> Future<T>` | AsyncInvoker.`method(String name, Entity<?> entity, GenericType<T> responseType)` Invoke an arbitrary method for the current request asynchronously.
    `<T> Future<T>` | AsyncInvoker.`method(String name, Entity<?> entity, InvocationCallback<T> callback)` Invoke an arbitrary method for the current request asynchronously.
    `Response` | SyncInvoker.`post(Entity<?> entity)` Invoke HTTP POST method for the current request synchronously.
    `Future<Response>` | AsyncInvoker.`post(Entity<?> entity)` Invoke HTTP POST method for the current request asynchronously.
    `<T> T` | SyncInvoker.`post(Entity<?> entity, Class<T> responseType)` Invoke HTTP POST method for the current request synchronously.
    `<T> Future<T>` | AsyncInvoker.`post(Entity<?> entity, Class<T> responseType)` Invoke HTTP POST method for the current request asynchronously.
    `<T> T` | SyncInvoker.`post(Entity<?> entity, GenericType<T> responseType)` Invoke HTTP POST method for the current request synchronously.
    `<T> Future<T>` | AsyncInvoker.`post(Entity<?> entity, GenericType<T> responseType)` Invoke HTTP POST method for the current request asynchronously.
    `<T> Future<T>` | AsyncInvoker.`post(Entity<?> entity, InvocationCallback<T> callback)` Invoke HTTP POST method for the current request asynchronously.
    `Response` | SyncInvoker.`put(Entity<?> entity)` Invoke HTTP PUT method for the current request synchronously.
    `Future<Response>` | AsyncInvoker.`put(Entity<?> entity)` Invoke HTTP PUT method for the current request asynchronously.
    `<T> T` | SyncInvoker.`put(Entity<?> entity, Class<T> responseType)` Invoke HTTP PUT method for the current request synchronously.
    `<T> Future<T>` | AsyncInvoker.`put(Entity<?> entity, Class<T> responseType)` Invoke HTTP PUT method for the current request asynchronously.
    `<T> T` | SyncInvoker.`put(Entity<?> entity, GenericType<T> responseType)` Invoke HTTP PUT method for the current request synchronously.
    `<T> Future<T>` | AsyncInvoker.`put(Entity<?> entity, GenericType<T> responseType)` Invoke HTTP PUT method for the current request asynchronously.
    `<T> Future<T>` | AsyncInvoker.`put(Entity<?> entity, InvocationCallback<T> callback)` Invoke HTTP PUT method for the current request asynchronously.

  - ### Uses of Entity in org.jboss.resteasy.client.jaxrs.internal

    Methods in org.jboss.resteasy.client.jaxrs.internal with parameters of type Entity
    Modifier and Type | Method and Description
    --- | ---
    `Invocation` | ClientInvocationBuilder.`build(String method, Entity<?> entity)`
    `Invocation` | ClientInvocationBuilder.`buildPost(Entity<?> entity)`
    `Invocation` | ClientInvocationBuilder.`buildPut(Entity<?> entity)`
    `Response` | ClientInvocationBuilder.`method(String name, Entity<?> entity)`
    `Future<Response>` | AsynchronousInvoke.`method(String name, Entity<?> entity)`
    `<T> T` | ClientInvocationBuilder.`method(String name, Entity<?> entity, Class<T> responseType)`
    `<T> Future<T>` | AsynchronousInvoke.`method(String name, Entity<?> entity, Class<T> responseType)`
    `<T> T` | ClientInvocationBuilder.`method(String name, Entity<?> entity, GenericType<T> responseType)`
    `<T> Future<T>` | AsynchronousInvoke.`method(String name, Entity<?> entity, GenericType<T> responseType)`
    `<T> Future<T>` | AsynchronousInvoke.`method(String name, Entity<?> entity, InvocationCallback<T> callback)`
    `Response` | ClientInvocationBuilder.`post(Entity<?> entity)`
    `Future<Response>` | AsynchronousInvoke.`post(Entity<?> entity)`
    `<T> T` | ClientInvocationBuilder.`post(Entity<?> entity, Class<T> responseType)`
    `<T> Future<T>` | AsynchronousInvoke.`post(Entity<?> entity, Class<T> responseType)`
    `<T> T` | ClientInvocationBuilder.`post(Entity<?> entity, GenericType<T> responseType)`
    `<T> Future<T>` | AsynchronousInvoke.`post(Entity<?> entity, GenericType<T> responseType)`
    `<T> Future<T>` | AsynchronousInvoke.`post(Entity<?> entity, InvocationCallback<T> callback)`
    `Response` | ClientInvocationBuilder.`put(Entity<?> entity)`
    `Future<Response>` | AsynchronousInvoke.`put(Entity<?> entity)`
    `<T> T` | ClientInvocationBuilder.`put(Entity<?> entity, Class<T> responseType)`
    `<T> Future<T>` | AsynchronousInvoke.`put(Entity<?> entity, Class<T> responseType)`
    `<T> T` | ClientInvocationBuilder.`put(Entity<?> entity, GenericType<T> responseType)`
    `<T> Future<T>` | AsynchronousInvoke.`put(Entity<?> entity, GenericType<T> responseType)`
    `<T> Future<T>` | AsynchronousInvoke.`put(Entity<?> entity, InvocationCallback<T> callback)`
    `void` | ClientInvocation.`setEntity(Entity entity)`

Copyright © 2014. All Rights Reserved.