Skip to content

Commit 6a806bd

Browse files
committed
undertow: add module-info.java
1 parent 0552c58 commit 6a806bd

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

modules/jooby-undertow/src/main/java/io/jooby/undertow/UndertowServer.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,16 @@ public class UndertowServer extends Server.Base {
5959

6060
private OutputFactory outputFactory;
6161

62+
/**
63+
* Creates a web server.
64+
*
65+
* @param options Options.
66+
*/
6267
public UndertowServer(@NonNull ServerOptions options) {
6368
setOptions(options);
6469
}
6570

71+
/** Creates a web server. */
6672
public UndertowServer() {}
6773

6874
@Override
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
/** Undertow Web Server. */
12
@edu.umd.cs.findbugs.annotations.ReturnValuesAreNonnullByDefault
23
package io.jooby.undertow;
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module io.jooby.undertow {
2+
exports io.jooby.undertow;
3+
4+
requires io.jooby;
5+
requires static com.github.spotbugs.annotations;
6+
requires typesafe.config;
7+
requires org.slf4j;
8+
requires java.logging;
9+
// All these are jar named modules :S
10+
requires undertow.core;
11+
requires xnio.api;
12+
requires static org.conscrypt;
13+
}

0 commit comments

Comments
 (0)