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> T
RxInvoker.delete
(GenericType<R> responseType) Invoke HTTP DELETE method for the current request.<T> T
SyncInvoker.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> T
RxInvoker.get
(GenericType<R> responseType) Invoke HTTP GET method for the current request.<T> T
SyncInvoker.get
(GenericType<T> responseType) Invoke HTTP GET method for the current request synchronously.<T> T
Invocation.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> T
RxInvoker.method
(String name, Entity<?> entity, GenericType<R> responseType) Invoke an arbitrary method for the current request.<R> T
RxInvoker.method
(String name, GenericType<R> responseType) Invoke an arbitrary method for the current request.<T> T
SyncInvoker.method
(String name, Entity<?> entity, GenericType<T> responseType) Invoke an arbitrary method for the current request synchronously.<T> T
SyncInvoker.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> T
RxInvoker.options
(GenericType<R> responseType) Invoke HTTP OPTIONS method for the current request.<T> T
SyncInvoker.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> T
RxInvoker.post
(Entity<?> entity, GenericType<R> responseType) Invoke HTTP POST method for the current request.<T> T
SyncInvoker.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> T
RxInvoker.put
(Entity<?> entity, GenericType<R> responseType) Invoke HTTP PUT method for the current request.<T> T
SyncInvoker.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> T
RxInvoker.trace
(GenericType<R> responseType) Invoke HTTP TRACE method for the current request.<T> T
SyncInvoker.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 GenericType
GenericType.forInstance
(Object instance) Create ageneric type
from 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> T
EntityPart.getContent
(GenericType<T> type) Converts the content stream for this part to the specified type and returns it.abstract <T> T
Response.readEntity
(GenericType<T> entityType) Read the message entity input stream as an instance of specified Java type using aMessageBodyReader
that supports mapping the message entity stream onto the requested type.abstract <T> T
Response.readEntity
(GenericType<T> entityType, Annotation[] annotations) Read the message entity input stream as an instance of specified Java type using aMessageBodyReader
that 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> T
InboundSseEvent.readData
(GenericType<T> type) Read event data as a given generic type.<T> T
InboundSseEvent.readData
(GenericType<T> type, MediaType mediaType) Read event data as a given generic type.