Interface IHttpComponent<T extends IHttpComponent>

  • All Superinterfaces:
    java.lang.AutoCloseable
    All Known Subinterfaces:
    IHttpServer
    All Known Implementing Classes:
    NettyHttpServer

    public interface IHttpComponent<T extends IHttpComponent>
    extends java.lang.AutoCloseable
    • Method Detail

      • isSslEnabled

        boolean isSslEnabled()
      • registerHandler

        T registerHandler​(java.lang.String path,
                          IHttpHandler... handlers)
      • registerHandler

        T registerHandler​(java.lang.String path,
                          int priority,
                          IHttpHandler... handlers)
      • registerHandler

        T registerHandler​(java.lang.String path,
                          java.lang.Integer port,
                          int priority,
                          IHttpHandler... handlers)
      • removeHandler

        T removeHandler​(java.lang.Class<? extends IHttpHandler> handler)
      • removeHandler

        T removeHandler​(java.lang.ClassLoader classLoader)
      • getHttpHandlers

        java.util.Collection<IHttpHandler> getHttpHandlers()
      • clearHandlers

        T clearHandlers()