Registry / networking / grizzly-http

grizzly-http

JSON →
library1.9.65javamavenunverified

Grizzly HTTP provides NIO-based HTTP server and client capabilities for Java.

<dependency> <groupId>com.sun.grizzly</groupId> <artifactId>grizzly-http</artifactId> <version>1.9.65</version> </dependency>
INSTALL
IMPORT
SIG · GRIZZLY-HTTP
G
grizzly-http
networkingjavav1.9.65
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.

SelectorThread
com.sun.grizzly.http.SelectorThread

Starts a Grizzly HTTP server on port 8080.

import com.sun.grizzly.http.SelectorThread; import com.sun.grizzly.http.embed.GrizzlyWebServer; public class Quickstart { public static void main(String[] args) throws Exception { GrizzlyWebServer server = new GrizzlyWebServer(8080); server.start(); System.out.println("Server started on port 8080"); Thread.sleep(10000); server.stop(); } }
Debug
Known issues
breakingGrizzly 1.x is outdated; consider upgrading to Grizzly 2.x for better performance and support.
fix
Use com.sun.grizzly:grizzly-http:2.x or org.glassfish.grizzly:grizzly-http-server.
affects: 1.x
Upgrade
Version history
1.9.65latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
grizzly-http — mvn dependency:get grizzly-http · libregistry