Package org.smallmind.web.jersey.ssl
Class SSLJerseyTest
java.lang.Object
org.smallmind.web.jersey.ssl.SSLJerseyTest
-
Constructor Summary
ConstructorsConstructorDescriptionSSLJerseyTest(jakarta.ws.rs.core.Application jaxrsApplication) SSLJerseyTest(org.glassfish.jersey.test.spi.TestContainerFactory testContainerFactory) -
Method Summary
Modifier and TypeMethodDescriptionfinal jakarta.ws.rs.client.Clientclient()final voidclose(jakarta.ws.rs.core.Response... responses) static voidcloseIfNotNull(jakarta.ws.rs.client.Client... clients) protected jakarta.ws.rs.core.Applicationprotected voidconfigureClient(org.glassfish.jersey.client.ClientConfig config) protected org.glassfish.jersey.test.DeploymentContextprotected final voidprotected final voidprotected final voidforceDisable(String featureName) protected final voidforceEnable(String featureName) protected final voidprotected URIprotected jakarta.ws.rs.client.Clientprotected final intgetPort()protected org.glassfish.jersey.test.spi.TestContainerFactoryprotected final booleanprotected final voidprotected final voidprotected jakarta.ws.rs.client.ClientsetClient(jakarta.ws.rs.client.Client client) voidsetUp()final jakarta.ws.rs.client.WebTargettarget()final jakarta.ws.rs.client.WebTargetvoidtearDown()
-
Constructor Details
-
SSLJerseyTest
public SSLJerseyTest() -
SSLJerseyTest
public SSLJerseyTest(org.glassfish.jersey.test.spi.TestContainerFactory testContainerFactory) -
SSLJerseyTest
public SSLJerseyTest(jakarta.ws.rs.core.Application jaxrsApplication)
-
-
Method Details
-
closeIfNotNull
public static void closeIfNotNull(jakarta.ws.rs.client.Client... clients) -
enable
-
disable
-
forceEnable
-
forceDisable
-
set
-
set
-
forceSet
-
isEnabled
-
configure
protected jakarta.ws.rs.core.Application configure() -
configureDeployment
protected org.glassfish.jersey.test.DeploymentContext configureDeployment() -
getTestContainerFactory
protected org.glassfish.jersey.test.spi.TestContainerFactory getTestContainerFactory() throws org.glassfish.jersey.test.spi.TestContainerException- Throws:
org.glassfish.jersey.test.spi.TestContainerException
-
target
public final jakarta.ws.rs.client.WebTarget target() -
target
-
client
public final jakarta.ws.rs.client.Client client() -
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
getClient
protected jakarta.ws.rs.client.Client getClient() -
setClient
protected jakarta.ws.rs.client.Client setClient(jakarta.ws.rs.client.Client client) -
configureClient
protected void configureClient(org.glassfish.jersey.client.ClientConfig config) -
getBaseUri
-
getPort
protected final int getPort() -
close
public final void close(jakarta.ws.rs.core.Response... responses)
-