Is there a HttpServer in the standard Java Packaging? -


i've been browsing around quite bit , i'm wondering if there's similar httpserver class in com.sun.net.httpserver.httpserver package. enjoy using it's simple use , easy handle get/post requests without effort. have quite few applications use of right now; i've been told shouldn't using com.sun packaging, because it's not supported, , there's implemented in main packages.

just trying figure out if i'm missing somewhere, or if doesn't exist. write own implementation using java.io, i'm quite lazy , seems nice little class have.

you can use nanohttpd, single class http server java.

https://github.com/nanohttpd/nanohttpd


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -