Registry / testing / jersey-test-framework-provider-jdk-http

jersey-test-framework-provider-jdk-http

JSON →
library4.0.2javamavenunverified

Jersey Test Framework provider that uses the built-in JDK HTTP server for testing RESTful web services.

<dependency> <groupId>org.glassfish.jersey.test-framework.providers</groupId> <artifactId>jersey-test-framework-provider-jdk-http</artifactId> <version>4.0.2</version> </dependency>
INSTALL
IMPORT
SIG · JERSEY-TEST-FRAMEW
J
jersey-test-framework-provider-jdk-http
testingjavav4.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JerseyTest
✓ org.glassfish.jersey.test.JerseyTest

Extend JerseyTest to write integration tests for JAX-RS resources.

import org.glassfish.jersey.test.JerseyTest; import org.glassfish.jersey.server.ResourceConfig; import javax.ws.rs.core.Application; public class MyTest extends JerseyTest { @Override protected Application configure() { return new ResourceConfig(MyResource.class); } }
Debug
Known issues
gotchaJDK HTTP server is not suitable for production; use only for testing.
fix
For production, use a different container like Grizzly or Jetty.
affects: all
Upgrade
Version history
4.0.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
jersey-test-framework-provider-jdk-http — mvn dependency:get jersey-test-framework-provider-jdk-http · libregistry