Class ClientHelper

java.lang.Object
org.jboss.resteasy.core.providerfactory.CommonProviders
org.jboss.resteasy.core.providerfactory.ClientHelper
Direct Known Subclasses:
NOOPClientHelper

public class ClientHelper extends CommonProviders
  • Field Details

    • attachedRequestFilters

      protected boolean attachedRequestFilters
    • requestFilters

      protected JaxrsInterceptorRegistry<jakarta.ws.rs.client.ClientRequestFilter> requestFilters
    • attachedResponseFilters

      protected boolean attachedResponseFilters
    • responseFilters

      protected JaxrsInterceptorRegistry<jakarta.ws.rs.client.ClientResponseFilter> responseFilters
    • attachedAsyncClientResponseProviders

      protected boolean attachedAsyncClientResponseProviders
    • asyncClientResponseProviders

      protected Map<Class<?>,AsyncClientResponseProvider> asyncClientResponseProviders
    • attachedReactive

      protected boolean attachedReactive
    • reactiveClasses

      protected Map<Class<?>,Class<? extends jakarta.ws.rs.client.RxInvokerProvider<?>>> reactiveClasses
  • Constructor Details

  • Method Details

    • initializeClientProviders

      protected void initializeClientProviders(ResteasyProviderFactory factory)
    • getRxInvokerProviderFromReactiveClass

      protected jakarta.ws.rs.client.RxInvokerProvider<?> getRxInvokerProviderFromReactiveClass(Class<?> clazz)
    • isReactive

      protected boolean isReactive(Class<?> clazz)
    • processProviderContracts

      protected void processProviderContracts(Class provider, Integer priorityOverride, boolean isBuiltin, Map<Class<?>,Integer> contracts, Map<Class<?>,Integer> newContracts)
      Overrides:
      processProviderContracts in class CommonProviders
    • addReactiveClass

      public void addReactiveClass(Class provider)
    • addReactiveClass

      public void addReactiveClass(Class provider, Class<?> clazz)
    • addAsyncClientResponseProvider

      public void addAsyncClientResponseProvider(Class provider)
    • addClientResponseFilter

      public void addClientResponseFilter(Class provider, int priority)
    • addClientRequestFilter

      public void addClientRequestFilter(Class provider, int priority)
    • processProviderInstanceContracts

      protected void processProviderInstanceContracts(Object provider, Map<Class<?>,Integer> contracts, Integer priorityOverride, boolean builtIn, Map<Class<?>,Integer> newContracts)
      Overrides:
      processProviderInstanceContracts in class CommonProviders
    • getRequestFiltersForWrite

      protected JaxrsInterceptorRegistry<jakarta.ws.rs.client.ClientRequestFilter> getRequestFiltersForWrite()
    • getResponseFiltersForWrite

      protected JaxrsInterceptorRegistry<jakarta.ws.rs.client.ClientResponseFilter> getResponseFiltersForWrite()
    • getAsyncClientResponseProvidersForWrite

      protected Map<Class<?>,AsyncClientResponseProvider> getAsyncClientResponseProvidersForWrite()
    • getReactiveClassesForWrite

      protected Map<Class<?>,Class<? extends jakarta.ws.rs.client.RxInvokerProvider<?>>> getReactiveClassesForWrite()
    • getRequestFilters

      public JaxrsInterceptorRegistry<jakarta.ws.rs.client.ClientRequestFilter> getRequestFilters()
    • getResponseFilters

      public JaxrsInterceptorRegistry<jakarta.ws.rs.client.ClientResponseFilter> getResponseFilters()
    • getAsyncClientResponseProviders

      public Map<Class<?>,AsyncClientResponseProvider> getAsyncClientResponseProviders()
    • getReactiveClasses

      public Map<Class<?>,Class<? extends jakarta.ws.rs.client.RxInvokerProvider<?>>> getReactiveClasses()