Interface HttpServerHandlerProvider

  • All Superinterfaces:
    java.lang.AutoCloseable, java.util.function.Supplier<HttpServerHandler>
    All Known Implementing Classes:
    DefaultHttpServerHandlerProvider
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface HttpServerHandlerProvider
    extends java.util.function.Supplier<HttpServerHandler>, java.lang.AutoCloseable
    Since:
    1.1
    • Method Detail

      • close

        default void close()
                    throws java.lang.Exception
        Close this provider and releases any system resources associated with it.
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception - if any error occurs