About 6,530,000 results
Open links in new tab
  1. How to Set Up a Basic HTTP Server in Java? - GeeksforGeeks

    Jun 22, 2025 · In Java, setting up a basic HTTP server involves creating an application that listens for incoming HTTP requests and responses. In this article, we will discuss how to set up a …

  2. HttpServer (Java HTTP Server ) - Oracle

    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number and listens for incoming TCP connections from clients on this address.

  3. Simple HTTP server in Java using only Java SE API

    Sep 17, 2010 · Is there a way to create a very basic HTTP server (supporting only GET/POST) in Java using just the Java SE API, without writing code to manually parse HTTP requests and …

  4. A Simple HTTP Server With Java ServerSocket - Baeldung

    Feb 4, 2025 · In this article, we learned how to create a simple server using the ServerSocket class. Also, we saw an example of how to create a single-threaded and multi-threaded server …

  5. Http Server in Java

    This example demonstrates how to set up a basic HTTP server in Java, define routes, and handle requests. The concepts are similar to other languages, but the implementation details are …

  6. Java HTTP Server: A Comprehensive Guide - javaspring.net

    Nov 12, 2025 · A Java HTTP server allows developers to build web applications that can handle incoming HTTP requests, serve web pages, and interact with clients over the HTTP protocol. …

  7. Building an HTTP Server in Java - Dev Genius

    This project demonstrates the core concepts of building an HTTP/1.1 server in Java. The implementation includes request parsing, route handling, concurrency management, and file …

  8. Java ServerSocket Simple HTTP Server Example - Java Code Geeks

    Mar 12, 2025 · While Java offers several production-grade web servers, understanding the inner workings of an HTTP server can be achieved by building one using the ServerSocket class. …

  9. Build Your Own HTTP Server in Java 21 - Medium

    Jul 2, 2025 · Build Your Own HTTP Server in Java 21 — From Raw Sockets to Static Sites Ever wondered how web servers like Apache or Nginx actually work under the hood? Let’s strip …

  10. How to create a simple HTTP server in Java with Undertow

    Dec 20, 2024 · So in this tutorial, we’ll see how to create a standalone Java application, with a main method, which uses the Undertow web server to serve a simple “Hello, world!” message …