Uses of Class
jakarta.ws.rs.core.GenericType
Packages that use GenericType
Package
Description
The JAX-RS client API
Low-level interfaces and annotations used to create RESTful service resources.
Server-Sent Events related API.
-
Uses of GenericType in jakarta.ws.rs.client
Methods in jakarta.ws.rs.client with parameters of type GenericTypeModifier and TypeMethodDescription<T> Future<T>AsyncInvoker.delete(GenericType<T> responseType) Invoke HTTP DELETE method for the current request asynchronously.<T> CompletionStage<T>CompletionStageRxInvoker.delete(GenericType<T> responseType) <R> TRxInvoker.delete(GenericType<R> responseType) Invoke HTTP DELETE method for the current request.<T> TSyncInvoker.delete(GenericType<T> responseType) Invoke HTTP DELETE method for the current request synchronously.<T> Future<T>AsyncInvoker.get(GenericType<T> responseType) Invoke HTTP GET method for the current request asynchronously.<T> CompletionStage<T>CompletionStageRxInvoker.get(GenericType<T> responseType) <R> TRxInvoker.get(GenericType<R> responseType) Invoke HTTP GET method for the current request.<T> TSyncInvoker.get(GenericType<T> responseType) Invoke HTTP GET method for the current request synchronously.<T> TInvocation.invoke(GenericType<T> responseType) Synchronously invoke the request and receive a response of the specified generic type back.<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, GenericType<T> responseType) Invoke an arbitrary method for the current request asynchronously.<T> CompletionStage<T>CompletionStageRxInvoker.method(String name, Entity<?> entity, GenericType<T> responseType) <T> CompletionStage<T>CompletionStageRxInvoker.method(String name, GenericType<T> responseType) <R> TRxInvoker.method(String name, Entity<?> entity, GenericType<R> responseType) Invoke an arbitrary method for the current request.<R> TRxInvoker.method(String name, GenericType<R> responseType) Invoke an arbitrary method for the current request.<T> TSyncInvoker.method(String name, Entity<?> entity, GenericType<T> responseType) Invoke an arbitrary method for the current request synchronously.<T> TSyncInvoker.method(String name, GenericType<T> responseType) Invoke an arbitrary method for the current request synchronously.<T> Future<T>AsyncInvoker.options(GenericType<T> responseType) Invoke HTTP OPTIONS method for the current request asynchronously.<T> CompletionStage<T>CompletionStageRxInvoker.options(GenericType<T> responseType) <R> TRxInvoker.options(GenericType<R> responseType) Invoke HTTP OPTIONS method for the current request.<T> TSyncInvoker.options(GenericType<T> responseType) Invoke HTTP OPTIONS 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> CompletionStage<T>CompletionStageRxInvoker.post(Entity<?> entity, GenericType<T> type) <R> TRxInvoker.post(Entity<?> entity, GenericType<R> responseType) Invoke HTTP POST method for the current request.<T> TSyncInvoker.post(Entity<?> entity, GenericType<T> responseType) Invoke HTTP POST 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> CompletionStage<T>CompletionStageRxInvoker.put(Entity<?> entity, GenericType<T> type) <R> TRxInvoker.put(Entity<?> entity, GenericType<R> responseType) Invoke HTTP PUT method for the current request.<T> TSyncInvoker.put(Entity<?> entity, GenericType<T> responseType) Invoke HTTP PUT method for the current request synchronously.<T> Future<T>Invocation.submit(GenericType<T> responseType) Submit the request for an asynchronous invocation and receive a future response of the specified generic type back.<T> Future<T>AsyncInvoker.trace(GenericType<T> responseType) Invoke HTTP TRACE method for the current request asynchronously.<T> CompletionStage<T>CompletionStageRxInvoker.trace(GenericType<T> responseType) <R> TRxInvoker.trace(GenericType<R> responseType) Invoke HTTP TRACE method for the current request.<T> TSyncInvoker.trace(GenericType<T> responseType) Invoke HTTP TRACE method for the current request synchronously. -
Uses of GenericType in jakarta.ws.rs.core
Methods in jakarta.ws.rs.core that return GenericTypeModifier and TypeMethodDescriptionstatic GenericTypeGenericType.forInstance(Object instance) Create ageneric typefrom a Javainstance.Methods in jakarta.ws.rs.core with parameters of type GenericTypeModifier and TypeMethodDescriptionEntityPart.Builder.content(T content, GenericType<T> type) Sets the content for this part.<T> TEntityPart.getContent(GenericType<T> type) Converts the content stream for this part to the specified type and returns it.abstract <T> TResponse.readEntity(GenericType<T> entityType) Read the message entity input stream as an instance of specified Java type using aMessageBodyReaderthat supports mapping the message entity stream onto the requested type.abstract <T> TResponse.readEntity(GenericType<T> entityType, Annotation[] annotations) Read the message entity input stream as an instance of specified Java type using aMessageBodyReaderthat supports mapping the message entity stream onto the requested type. -
Uses of GenericType in jakarta.ws.rs.sse
Methods in jakarta.ws.rs.sse with parameters of type GenericTypeModifier and TypeMethodDescriptionOutboundSseEvent.Builder.data(GenericType type, Object data) Set event data and a generic java type of event data.<T> TInboundSseEvent.readData(GenericType<T> type) Read event data as a given generic type.<T> TInboundSseEvent.readData(GenericType<T> type, MediaType mediaType) Read event data as a given generic type.