Skip to content

Module http_server_jetty

Module http_server_jetty

Jetty adapter for the port_http_server port.

Install the Dependency

1
2
3
4
5
6
repositories {
    mavenCentral()
}

// Add `{ exclude(module = "logging_slf4j_jul") }` if you use other logging adapter
implementation("com.hexagonkt:http_server_jetty:$hexagonVersion")
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
<dependency>
  <groupId>com.hexagonkt</groupId>
  <artifactId>http_server_jetty</artifactId>
  <version>$hexagonVersion</version>
  <!-- Add the following block if you use other logging adapter -->
  <!--
  <exclusions>
    <exclusion>
      <groupId>com.hexagonkt</groupId>
      <artifactId>logging_slf4j_jul</artifactId>
    </exclusion>
  </exclusions>
  -->
</dependency>

Note

This Adapter includes the logging_slf4j_jul logging dependency (for convenience), if you use a different log adapter, you should exclude it to avoid SLF4J warnings.

Package com.hexagonkt.http.server.jetty

Code implementing the Jetty HTTP server adapter.