A B C D E F G I J L N O R S T V Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addFilter(Class<? extends Filter>, String) - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Add a filter class.
- addFilter(Class<? extends Filter>, String, Map<String, String>) - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Add a filter class.
- addFilter(Class<? extends Filter>, String, Map<String, String>, Set<DispatcherType>) - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Add a filter class.
- addFilter(Class<? extends Filter>, String, Set<DispatcherType>) - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Add a filter class.
- addListener(Class<? extends EventListener>) - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Add event listener class.
- ASYNC_TIMEOUT_MULTIPLIER - Static variable in class org.glassfish.jersey.test.TestProperties
-
Specifies the multiplier which will be applied to timeouts for asynchronous tests.
B
- build() - Method in class org.glassfish.jersey.test.DeploymentContext.Builder
-
Build a new application deployment context configured by the current state of this application deployment context builder.
- build() - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Build a new servlet deployment context configured by the current state of this servlet deployment context builder.
- builder(Application) - Static method in class org.glassfish.jersey.test.DeploymentContext
-
Create a new deployment context builder for a JAX-RS / Jersey application instance.
- builder(Application) - Static method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Create a new servlet deployment context builder for a JAX-RS / Jersey application instance.
- builder(Class<? extends Application>) - Static method in class org.glassfish.jersey.test.DeploymentContext
-
Create a new deployment context builder for a JAX-RS / Jersey application instance.
- builder(Class<? extends Application>) - Static method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Create a new servlet deployment context builder for a JAX-RS / Jersey application instance.
- builder(Map<String, String>) - Static method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Create new servlet deployment context builder initialized from the supplied initialization parameters.
- Builder() - Constructor for class org.glassfish.jersey.test.DeploymentContext.Builder
-
Create new deployment context builder instance not explicitly bound to the JAX-RS / Jersey application class.
- Builder() - Constructor for class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Create new deployment context builder instance not explicitly bound to the JAX-RS / Jersey application class.
- Builder(Application) - Constructor for class org.glassfish.jersey.test.DeploymentContext.Builder
-
Create new deployment context builder instance and bind it to the JAX-RS / Jersey application instance.
- Builder(Application) - Constructor for class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Create new deployment context builder instance and bind it to the JAX-RS / Jersey application instance.
- Builder(Class<? extends Application>) - Constructor for class org.glassfish.jersey.test.DeploymentContext.Builder
-
Create new deployment context builder instance and bind it to the JAX-RS / Jersey application class.
- Builder(Class<? extends Application>) - Constructor for class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Create new deployment context builder instance and bind it to the JAX-RS / Jersey application class.
- Builder(String, String) - Constructor for class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Create a builder with one initialization parameter.
C
- client() - Method in class org.glassfish.jersey.test.ContainerPerClassTestNgStrategy
- client() - Method in class org.glassfish.jersey.test.ContainerPerMethodTestNgStrategy
- client() - Method in class org.glassfish.jersey.test.JerseyTest
-
Get the JAX-RS test client that is
pre-configured
for this test. - client() - Method in interface org.glassfish.jersey.test.spi.TestNgStrategy
-
Return a JAX-RS client.
- client(Client) - Method in class org.glassfish.jersey.test.ContainerPerClassTestNgStrategy
- client(Client) - Method in class org.glassfish.jersey.test.ContainerPerMethodTestNgStrategy
- client(Client) - Method in interface org.glassfish.jersey.test.spi.TestNgStrategy
-
Set a new JAX-RS client instance and return the old, previously stored, instance.
- close(Response...) - Method in class org.glassfish.jersey.test.JerseyTest
-
Utility method that safely closes a response without throwing an exception.
- closeIfNotNull(Client...) - Static method in class org.glassfish.jersey.test.JerseyTest
-
Utility method that safely closes a client instance without throwing an exception.
- configure() - Method in class org.glassfish.jersey.test.JerseyTest
-
Create the tested JAX-RS /Jersey application.
- configureClient(ClientConfig) - Method in class org.glassfish.jersey.test.JerseyTest
-
Configure the test client.
- configureDeployment() - Method in class org.glassfish.jersey.test.JerseyTest
-
Create and configure deployment context for the tested application.
- configureStrategy() - Method in class org.glassfish.jersey.test.JerseyTestNg
-
Configure
strategy
for this TestNG JerseyTest. - configureStrategy() - Method in class org.glassfish.jersey.test.JerseyTestNg.ContainerPerClassTest
- configureStrategy() - Method in class org.glassfish.jersey.test.JerseyTestNg.ContainerPerMethodTest
- CONTAINER_FACTORY - Static variable in class org.glassfish.jersey.test.TestProperties
-
Specifies the
test container factory
implementation class to be used to create a test container instance for the test. - CONTAINER_PORT - Static variable in class org.glassfish.jersey.test.TestProperties
-
Specifies the network connection port to be used by an active test container for test application deployment.
- ContainerPerClassTest() - Constructor for class org.glassfish.jersey.test.JerseyTestNg.ContainerPerClassTest
- ContainerPerClassTest(Application) - Constructor for class org.glassfish.jersey.test.JerseyTestNg.ContainerPerClassTest
- ContainerPerClassTest(TestContainerFactory) - Constructor for class org.glassfish.jersey.test.JerseyTestNg.ContainerPerClassTest
- ContainerPerClassTestNgStrategy - Class in org.glassfish.jersey.test
-
TestNG strategy that creates one test container / client per test class.
- ContainerPerClassTestNgStrategy() - Constructor for class org.glassfish.jersey.test.ContainerPerClassTestNgStrategy
- ContainerPerMethodTest() - Constructor for class org.glassfish.jersey.test.JerseyTestNg.ContainerPerMethodTest
- ContainerPerMethodTest(Application) - Constructor for class org.glassfish.jersey.test.JerseyTestNg.ContainerPerMethodTest
- ContainerPerMethodTest(TestContainerFactory) - Constructor for class org.glassfish.jersey.test.JerseyTestNg.ContainerPerMethodTest
- ContainerPerMethodTestNgStrategy - Class in org.glassfish.jersey.test
-
TestNG strategy that creates separate test container / client per test method.
- ContainerPerMethodTestNgStrategy() - Constructor for class org.glassfish.jersey.test.ContainerPerMethodTestNgStrategy
- contextParam(String, String) - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Add a context parameter.
- contextParams(Map<String, String>) - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Add context parameters.
- contextPath(String) - Method in class org.glassfish.jersey.test.DeploymentContext.Builder
-
Set the application deployment context path.
- contextPath(String) - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
- create(URI, DeploymentContext) - Method in interface org.glassfish.jersey.test.spi.TestContainerFactory
-
Create a test container instance.
D
- DEFAULT_CONTAINER_FACTORY - Static variable in class org.glassfish.jersey.test.TestProperties
-
Specifies the default
test container factory
implementation class to be used to create a test container instance for the test. - DEFAULT_CONTAINER_PORT - Static variable in class org.glassfish.jersey.test.TestProperties
-
Specifies the default network connection port to be used by an active test container for test application deployment.
- DeploymentContext - Class in org.glassfish.jersey.test
-
Basic application deployment context.
- DeploymentContext(DeploymentContext.Builder) - Constructor for class org.glassfish.jersey.test.DeploymentContext
-
Create new application deployment context.
- DeploymentContext.Builder - Class in org.glassfish.jersey.test
-
Deployment context builder for building a basic application deployment context for the JAX-RS / Jersey application defined by the associated
Application
class or instance. - disable(String) - Method in class org.glassfish.jersey.test.JerseyTest
-
Programmatically disable a feature with a given name.
- DUMP_ENTITY - Static variable in class org.glassfish.jersey.test.TestProperties
-
If set to
true
the property instructs the test traffic logger to dump message entities as part of the test traffic logging.
E
- enable(String) - Method in class org.glassfish.jersey.test.JerseyTest
-
Programmatically enable a feature with a given name.
F
- filterClass(Class<? extends Filter>) - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Set the filter class.
- filterClass(Class<? extends Filter>, Set<DispatcherType>) - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Set the filter class.
- forceDisable(String) - Method in class org.glassfish.jersey.test.JerseyTest
-
Programmatically force-disable a feature with a given name.
- forceEnable(String) - Method in class org.glassfish.jersey.test.JerseyTest
-
Programmatically force-enable a feature with a given name.
- forceSet(String, String) - Method in class org.glassfish.jersey.test.JerseyTest
-
Programmatically force-set a value of a property with a given name.
- forPackages(String) - Static method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Create new servlet deployment context builder initialized with the providers from the specified packages.
- forServlet(HttpServlet) - Static method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Create new servlet deployment context builder bound to a Servlet instance.
- forServlet(Class<? extends HttpServlet>) - Static method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Create new servlet deployment context builder bound to a Servlet class.
G
- getAsyncTimeoutMultiplier() - Method in class org.glassfish.jersey.test.JerseyTest
-
Returns
TestProperties.ASYNC_TIMEOUT_MULTIPLIER
or1
if the property is not defined. - getBaseUri() - Method in class org.glassfish.jersey.test.JerseyTest
-
Returns the base URI of the tested application.
- getBaseUri() - Method in interface org.glassfish.jersey.test.spi.TestContainer
-
Get the base URI of the application.
- getClient() - Method in class org.glassfish.jersey.test.JerseyTest
-
Get the JAX-RS test client that is
pre-configured
for this test. - getClient() - Method in class org.glassfish.jersey.test.JerseyTestNg
- getClientConfig() - Method in interface org.glassfish.jersey.test.spi.TestContainer
-
Get a client configuration specific to the test container.
- getContextParams() - Method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Get the context parameters.
- getContextPath() - Method in class org.glassfish.jersey.test.DeploymentContext
-
Get the deployed application context path.
- getDispatcherTypes() - Method in class org.glassfish.jersey.test.ServletDeploymentContext.FilterDescriptor
-
Get filter dispatcher type set.
- getFilterClass() - Method in class org.glassfish.jersey.test.ServletDeploymentContext.FilterDescriptor
-
Get filter class.
- getFilterName() - Method in class org.glassfish.jersey.test.ServletDeploymentContext.FilterDescriptor
-
Get filter name.
- getFilters() - Method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Get the filter class.
- getInitParams() - Method in class org.glassfish.jersey.test.ServletDeploymentContext.FilterDescriptor
-
Get filter initialization parameters.
- getInitParams() - Method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Get the initialization parameters.
- getLastLoggedRecord() - Method in class org.glassfish.jersey.test.JerseyTest
- getListeners() - Method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Get all the registered Listener classes
- getLoggedRecords() - Method in class org.glassfish.jersey.test.JerseyTest
-
Get stored
log records
if enabled by settingTestProperties.RECORD_LOG_LEVEL
or an empty list. - getPort() - Method in class org.glassfish.jersey.test.JerseyTest
-
Get the port to be used for test application deployments.
- getResourceConfig() - Method in class org.glassfish.jersey.test.DeploymentContext
-
Get the deployed application resource configuration.
- getServletClass() - Method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Get the servlet class.
- getServletInstance() - Method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Get the servlet instance.
- getServletPath() - Method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Get the servlet path.
- getSslContext() - Method in class org.glassfish.jersey.test.DeploymentContext
-
Get the deployed application ssl context.
- getSslContext() - Method in class org.glassfish.jersey.test.JerseyTest
-
Return an optional instance of
SSLContext
class. - getSslParameters() - Method in class org.glassfish.jersey.test.DeploymentContext
-
Get the deployed application ssl parameters.
- getSslParameters() - Method in class org.glassfish.jersey.test.JerseyTest
-
Return an optional instance of
SSLParameters
class. - getTestContainerFactory() - Method in class org.glassfish.jersey.test.JerseyTest
-
Return an instance of
TestContainerFactory
class.
I
- initParam(String, String) - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Add an initialization parameter.
- initParams(Map<String, String>) - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Add initialization parameters.
- isEnabled(String) - Method in class org.glassfish.jersey.test.JerseyTest
-
Check if the Jersey test boolean property (flag) has been set to
true
.
J
- JerseyTest - Class in org.glassfish.jersey.test
-
Parent class for testing JAX-RS and Jersey-based applications using Jersey test framework.
- JerseyTest() - Constructor for class org.glassfish.jersey.test.JerseyTest
-
Initialize JerseyTest instance.
- JerseyTest(Application) - Constructor for class org.glassfish.jersey.test.JerseyTest
-
Initialize JerseyTest instance.
- JerseyTest(TestContainerFactory) - Constructor for class org.glassfish.jersey.test.JerseyTest
-
Initialize JerseyTest instance and specify the test container factory to be used by this test.
- JerseyTestNg - Class in org.glassfish.jersey.test
-
Parent class for testing JAX-RS and Jersey-based applications using Jersey test framework and TestNG framework.
- JerseyTestNg() - Constructor for class org.glassfish.jersey.test.JerseyTestNg
-
Initialize JerseyTestNg instance.
- JerseyTestNg(Application) - Constructor for class org.glassfish.jersey.test.JerseyTestNg
-
Initialize JerseyTestNg instance.
- JerseyTestNg(TestContainerFactory) - Constructor for class org.glassfish.jersey.test.JerseyTestNg
-
Initialize JerseyTestNg instance and specify the test container factory to be used by this test.
- JerseyTestNg.ContainerPerClassTest - Class in org.glassfish.jersey.test
-
Parent for TestNg tests that needs to create a test container only once per a test class.
- JerseyTestNg.ContainerPerMethodTest - Class in org.glassfish.jersey.test
-
Parent for TestNg tests that needs to create a separate test container for each test in a test class.
L
- LOG_TRAFFIC - Static variable in class org.glassfish.jersey.test.TestProperties
-
If set to
true
the property enables basic logging of the request and response flow on both - client and server.
N
- newInstance(Application) - Static method in class org.glassfish.jersey.test.DeploymentContext
-
Create a new deployment context for a JAX-RS / Jersey application instance.
- newInstance(Application) - Static method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Create a new servlet deployment context for a JAX-RS / Jersey application instance.
- newInstance(Class<? extends Application>) - Static method in class org.glassfish.jersey.test.DeploymentContext
-
Create a new deployment context for a JAX-RS / Jersey application instance.
- newInstance(Class<? extends Application>) - Static method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Create a new servlet deployment context for a JAX-RS / Jersey application instance.
- newInstance(String) - Static method in class org.glassfish.jersey.test.ServletDeploymentContext
-
Create new servlet deployment context initialized with the providers from the specified packages.
O
- org.glassfish.jersey.test - package org.glassfish.jersey.test
-
Jersey test framework common classes that support testing JAX-RS and Jersey-based applications.
- org.glassfish.jersey.test.spi - package org.glassfish.jersey.test.spi
-
Jersey test framework service provider contract (SPI) classes.
R
- RECORD_LOG_LEVEL - Static variable in class org.glassfish.jersey.test.TestProperties
-
If set to a numeric value then this property enables to store log records at
log level
value (or higher) defined by the value of this property. - Requires - Annotation Type in org.glassfish.jersey.test.spi
-
TODO
- reset() - Method in class org.glassfish.jersey.test.DeploymentContext.Builder
-
Reset the application deployment context builder values to defaults.
- reset() - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
S
- servlet(HttpServlet) - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Set the servlet instance.
- servletClass(Class<? extends HttpServlet>) - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Set the servlet class.
- ServletDeploymentContext - Class in org.glassfish.jersey.test
-
A Servlet-based deployment context.
- ServletDeploymentContext(ServletDeploymentContext.Builder) - Constructor for class org.glassfish.jersey.test.ServletDeploymentContext
-
Create new servlet deployment context.
- ServletDeploymentContext.Builder - Class in org.glassfish.jersey.test
-
The builder for building a Servlet-based deployment context.
- ServletDeploymentContext.FilterDescriptor - Class in org.glassfish.jersey.test
-
Helper class to keep configuration information of a single filter.
- servletPath(String) - Method in class org.glassfish.jersey.test.ServletDeploymentContext.Builder
-
Set the servlet path.
- set(String, Object) - Method in class org.glassfish.jersey.test.JerseyTest
-
Programmatically set a value of a property with a given name.
- set(String, String) - Method in class org.glassfish.jersey.test.JerseyTest
-
Programmatically set a value of a property with a given name.
- setClient(Client) - Method in class org.glassfish.jersey.test.JerseyTest
-
Get the old JAX-RS test client and set a new one.
- setClient(Client) - Method in class org.glassfish.jersey.test.JerseyTestNg
- setUp() - Method in class org.glassfish.jersey.test.JerseyTest
-
Set up the test by creating a test container instance,
starting
it and by creating a newpre-configured
test client. - setUp() - Method in class org.glassfish.jersey.test.JerseyTestNg.ContainerPerClassTest
- setUp() - Method in class org.glassfish.jersey.test.JerseyTestNg.ContainerPerMethodTest
- ssl(SSLContext, SSLParameters) - Method in class org.glassfish.jersey.test.DeploymentContext.Builder
-
Set the application ssl properties.
- start() - Method in interface org.glassfish.jersey.test.spi.TestContainer
-
Start the container.
- stop() - Method in interface org.glassfish.jersey.test.spi.TestContainer
-
Stop the container.
- Supports - Annotation Type in org.glassfish.jersey.test.spi
-
TODO
T
- target() - Method in class org.glassfish.jersey.test.JerseyTest
-
Create a JAX-RS web target whose URI refers to the
base URI
the tested JAX-RS / Jersey application is deployed at, plus the path specified in thepath
argument. - target(String) - Method in class org.glassfish.jersey.test.JerseyTest
-
Create a JAX-RS web target whose URI refers to the
base URI
the tested JAX-RS / Jersey application is deployed at, plus the path specified in thepath
argument. - tearDown() - Method in class org.glassfish.jersey.test.JerseyTest
-
Tear down the test by
stopping
the test container obtained from thetest container factory
and byclosing
and discarding thepre-configured
test client that wasset up
for the test. - tearDown() - Method in class org.glassfish.jersey.test.JerseyTestNg.ContainerPerClassTest
- tearDown() - Method in class org.glassfish.jersey.test.JerseyTestNg.ContainerPerMethodTest
- testContainer() - Method in class org.glassfish.jersey.test.ContainerPerClassTestNgStrategy
- testContainer() - Method in class org.glassfish.jersey.test.ContainerPerMethodTestNgStrategy
- testContainer() - Method in interface org.glassfish.jersey.test.spi.TestNgStrategy
-
Return a test container to run the tests in.
- testContainer(TestContainer) - Method in class org.glassfish.jersey.test.ContainerPerClassTestNgStrategy
- testContainer(TestContainer) - Method in class org.glassfish.jersey.test.ContainerPerMethodTestNgStrategy
- testContainer(TestContainer) - Method in interface org.glassfish.jersey.test.spi.TestNgStrategy
-
Set a new test container instance to run the tests in and return the old, previously stored, instance.
- TestContainer - Interface in org.glassfish.jersey.test.spi
-
A test container.
- TestContainerException - Exception in org.glassfish.jersey.test.spi
-
Thrown when a test container-specific error occurs.
- TestContainerException() - Constructor for exception org.glassfish.jersey.test.spi.TestContainerException
-
Construct a new instance with no message.
- TestContainerException(String) - Constructor for exception org.glassfish.jersey.test.spi.TestContainerException
-
Construct a new instance with a message.
- TestContainerException(String, Throwable) - Constructor for exception org.glassfish.jersey.test.spi.TestContainerException
-
Construct a new instance with a message and a cause.
- TestContainerException(Throwable) - Constructor for exception org.glassfish.jersey.test.spi.TestContainerException
-
Construct a new instance with a cause.
- TestContainerFactory - Interface in org.glassfish.jersey.test.spi
-
A test container factory responsible for creating test containers.
- TestHelper - Class in org.glassfish.jersey.test.spi
-
Helper class for Jersey Test Framework.
- TestNgStrategy - Interface in org.glassfish.jersey.test.spi
-
Strategy defining how test containers and clients are stored and passed to TestNG tests.
- TestProperties - Class in org.glassfish.jersey.test
-
Jersey test framework configuration properties.
V
- value() - Method in annotation type org.glassfish.jersey.test.spi.Requires
- value() - Method in annotation type org.glassfish.jersey.test.spi.Supports
Z
- zeroPortToAvailablePort(URI) - Static method in class org.glassfish.jersey.test.spi.TestHelper
-
Create a human readable string from given URI.
All Classes All Packages