Registry / networking / nanohttpd

nanohttpd

JSON →
library2.3.1javamavenunverified

NanoHttpd is a light-weight HTTP server designed for embedding in other applications.

<dependency> <groupId>org.nanohttpd</groupId> <artifactId>nanohttpd</artifactId> <version>2.3.1</version> </dependency>
INSTALL
IMPORT
SIG · NANOHTTPD
N
nanohttpd
networkingjavav2.3.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.

NanoHTTPD
fi.iki.elonen.NanoHTTPD

Minimal HTTP server that responds with 'Hello World' on port 8080.

import fi.iki.elonen.NanoHTTPD; public class MyServer extends NanoHTTPD { public MyServer() { super(8080); } @Override public Response serve(IHTTPSession session) { return newFixedLengthResponse("Hello World"); } public static void main(String[] args) { try { new MyServer().start(); } catch (IOException e) { e.printStackTrace(); } } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.3.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
nanohttpd — mvn dependency:get nanohttpd · libregistry