Use Jetty. Here’s the official example for embedding Jetty. (Here’s an outdated tutorial.)
Jetty is pretty lightweight, but it does provide a servlet container, which may contradict your requirement against using an “application server”.
You can embed the Jetty server into your application. Jetty allows EITHER embedded OR servlet container options.
Here is one more quick get started tutorial along with the source code.
Related Contents:
- Why does getAttribute() in HttpServletRequest works for GET method but not for POST method?
- Java – sending HTTP parameters via POST method easily
- Sending HTTP POST Request In Java
- HTTP POST using JSON in Java
- How do I do a HTTP GET in Java? [duplicate]
- Getting request payload from POST request in Java servlet
- Sending HTTP Post Request with Android
- How to send HTTP request in java? [duplicate]
- HTTP URL Address Encoding in Java
- HttpServletRequest get JSON POST data [duplicate]
- How do you Programmatically Download a Webpage in Java
- Adding header for HttpURLConnection
- Read url to string in few lines of java code
- Spring MVC @PathVariable getting truncated
- Secure HTTP Post in Android
- Send an Array with an HTTP Get
- Does a TCP socket connection have a “keep alive”?
- Java HTTP Client Request with defined timeout
- Android project using httpclient –> http.client (apache), post/get method
- Spring Boot redirect HTTP to HTTPS
- How to get HTTP response code for a URL in Java?
- Check if file exists on remote server using its URL [duplicate]
- How do I make an http request using cookies on Android?
- Resume http file download in java
- What is the difference between CloseableHttpClient and HttpClient in Apache HttpClient API?
- How to allow users to check for the latest app version from inside the app?
- How to send list of Objects to View and back to Post method in controller
- Accessing post variables using Java Servlets
- Tutorials for using HTTP POST and GET on the iPhone in Objective-C [closed]
- Java: how to use UrlConnection to post request with authorization?
- Apache HttpClient 4.0.3 – how do I set cookie with sessionID for POST request?
- Httpclient 4, error 302. How to redirect?
- Error 415 Unsupported Media Type: POST not reaching REST if JSON, but it does if XML
- How to enable wire logging for a java HttpURLConnection traffic?
- Android HttpPost: how to get the result
- Read error response body in Java
- How can I read an HttpServletReponses output stream?
- Send HTTP request manually via socket
- How to modify the header of a HttpUrlConnection
- Pass Hidden parameters using response.sendRedirect()
- How do I serve https and http for Jetty from one port?
- How can I retrieve IP address from HTTP header in Java [duplicate]
- How to log into Facebook programmatically using Java?
- How does OkHttp get Json string?
- How to get a progress bar for a file upload with Apache HttpClient 4?
- HTTP request compression
- Spring MVC How take the parameter value of a GET HTTP Request in my controller method?
- Disable all default HTTP error response content in Tomcat
- Getting Date in HTTP format in Java
- How can I use an HTTP proxy for a JAX-WS request without setting a system-wide property?