Package org.smallmind.web.jersey.ssl
Class SSLJerseyTest
- java.lang.Object
-
- org.smallmind.web.jersey.ssl.SSLJerseyTest
-
public abstract class SSLJerseyTest extends Object
-
-
Constructor Summary
Constructors Constructor Description SSLJerseyTest()SSLJerseyTest(javax.ws.rs.core.Application jaxrsApplication)SSLJerseyTest(org.glassfish.jersey.test.spi.TestContainerFactory testContainerFactory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.client.Clientclient()voidclose(javax.ws.rs.core.Response... responses)static voidcloseIfNotNull(javax.ws.rs.client.Client... clients)protected javax.ws.rs.core.Applicationconfigure()protected voidconfigureClient(org.glassfish.jersey.client.ClientConfig config)protected org.glassfish.jersey.test.DeploymentContextconfigureDeployment()protected voiddisable(String featureName)protected voidenable(String featureName)protected voidforceDisable(String featureName)protected voidforceEnable(String featureName)protected voidforceSet(String propertyName, String value)protected URIgetBaseUri()protected javax.ws.rs.client.ClientgetClient()protected intgetPort()protected org.glassfish.jersey.test.spi.TestContainerFactorygetTestContainerFactory()protected booleanisEnabled(String propertyName)protected voidset(String propertyName, Object value)protected voidset(String propertyName, String value)protected javax.ws.rs.client.ClientsetClient(javax.ws.rs.client.Client client)voidsetUp()javax.ws.rs.client.WebTargettarget()javax.ws.rs.client.WebTargettarget(String path)voidtearDown()
-
-
-
Method Detail
-
closeIfNotNull
public static void closeIfNotNull(javax.ws.rs.client.Client... clients)
-
enable
protected final void enable(String featureName)
-
disable
protected final void disable(String featureName)
-
forceEnable
protected final void forceEnable(String featureName)
-
forceDisable
protected final void forceDisable(String featureName)
-
isEnabled
protected final boolean isEnabled(String propertyName)
-
configure
protected javax.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 javax.ws.rs.client.WebTarget target()
-
target
public final javax.ws.rs.client.WebTarget target(String path)
-
client
public final javax.ws.rs.client.Client client()
-
getClient
protected javax.ws.rs.client.Client getClient()
-
setClient
protected javax.ws.rs.client.Client setClient(javax.ws.rs.client.Client client)
-
configureClient
protected void configureClient(org.glassfish.jersey.client.ClientConfig config)
-
getBaseUri
protected URI getBaseUri()
-
getPort
protected final int getPort()
-
close
public final void close(javax.ws.rs.core.Response... responses)
-
-