Class ResteasyClientFactoryImpl
java.lang.Object
com.peterphi.std.guice.restclient.resteasy.impl.ResteasyClientFactoryImpl
- All Implemented Interfaces:
StoppableService
Builds ResteasyClient objects
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static final record
static final record
static final record
-
Constructor Summary
ConstructorDescriptionResteasyClientFactoryImpl
(ShutdownManager manager, TracingClientRequestFilter tracingRequestFilter, RemoteExceptionClientResponseFilter remoteExceptionClientResponseFilter, JAXBContextResolver jaxbContextResolver, HttpClientFactory httpClientFactory) -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.resteasy.client.jaxrs.ResteasyClient
getOrCreateClient
(ResteasyClientFactoryImpl.AuthCredential credentials, boolean fastFail, boolean storeCookies, boolean h2c) void
shutdown()
Called to request this service clean up any ongoing work and terminate.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.peterphi.std.guice.common.shutdown.iface.StoppableService
preShutdown
-
Constructor Details
-
ResteasyClientFactoryImpl
@Inject public ResteasyClientFactoryImpl(ShutdownManager manager, TracingClientRequestFilter tracingRequestFilter, RemoteExceptionClientResponseFilter remoteExceptionClientResponseFilter, JAXBContextResolver jaxbContextResolver, HttpClientFactory httpClientFactory)
-
-
Method Details
-
getOrCreateClient
public org.jboss.resteasy.client.jaxrs.ResteasyClient getOrCreateClient(ResteasyClientFactoryImpl.AuthCredential credentials, boolean fastFail, boolean storeCookies, boolean h2c) -
shutdown
public void shutdown()Description copied from interface:StoppableService
Called to request this service clean up any ongoing work and terminate. SeeShutdownManager.shutdown()
for the shutdown sequence guarantees- Specified by:
shutdown
in interfaceStoppableService
-