Class NettyHttpServer.HttpHandlerEntry
- java.lang.Object
-
- de.dytanic.cloudnet.driver.network.netty.http.NettyHttpServer.HttpHandlerEntry
-
- All Implemented Interfaces:
java.lang.Comparable<NettyHttpServer.HttpHandlerEntry>
- Enclosing class:
- NettyHttpServer
public static class NettyHttpServer.HttpHandlerEntry extends java.lang.Object implements java.lang.Comparable<NettyHttpServer.HttpHandlerEntry>
-
-
Field Summary
Fields Modifier and Type Field Description IHttpHandlerhttpHandlerjava.lang.Stringpathjava.lang.Integerportintpriority
-
Constructor Summary
Constructors Constructor Description HttpHandlerEntry(java.lang.String path, IHttpHandler httpHandler, java.lang.Integer port, int priority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(@NotNull NettyHttpServer.HttpHandlerEntry httpHandlerEntry)
-
-
-
Field Detail
-
path
public final java.lang.String path
-
port
public final java.lang.Integer port
-
priority
public final int priority
-
httpHandler
public final IHttpHandler httpHandler
-
-
Constructor Detail
-
HttpHandlerEntry
public HttpHandlerEntry(java.lang.String path, IHttpHandler httpHandler, java.lang.Integer port, int priority)
-
-
Method Detail
-
compareTo
public int compareTo(@NotNull @NotNull NettyHttpServer.HttpHandlerEntry httpHandlerEntry)- Specified by:
compareToin interfacejava.lang.Comparable<NettyHttpServer.HttpHandlerEntry>
-
-