Registry / web-framework / javax-ws-rs-api

javax-ws-rs-api

JSON →
library2.1.1javamavenunverified

JAX-RS API provides annotations and interfaces for building RESTful web services in Java.

<dependency> <groupId>javax.ws.rs</groupId> <artifactId>javax.ws.rs-api</artifactId> <version>2.1.1</version> </dependency>
INSTALL
IMPORT
SIG · JAVAX-WS-RS-API
J
javax-ws-rs-api
web-frameworkjavav2.1.1
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.

GET
javax.ws.rs.GET

Defines a simple REST endpoint using JAX-RS annotations.

import javax.ws.rs.GET; import javax.ws.rs.Path; @Path("/hello") public class HelloResource { @GET public String sayHello() { return "Hello, World!"; } }
Debug
Known issues
breakingjavax.ws.rs-api is replaced by jakarta.ws.rs-api in Jakarta EE 9+.
fix
Use jakarta.ws.rs:jakarta.ws.rs-api for new projects.
affects: >=2.1.0
Upgrade
Version history
2.1.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
javax-ws-rs-api — mvn dependency:get javax-ws-rs-api · libregistry