Class BKHttpServiceProvider

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, org.apache.bookkeeper.http.HttpServiceProvider

    public class BKHttpServiceProvider
    extends java.lang.Object
    implements org.apache.bookkeeper.http.HttpServiceProvider
    Bookkeeper based implementation of HttpServiceProvider, which provide bookkeeper services to handle http requests from different http endpoints.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  BKHttpServiceProvider.Builder
      Builder for HttpServiceProvider.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      org.apache.bookkeeper.http.service.HttpEndpointService provideHttpEndpointService​(org.apache.bookkeeper.http.HttpServer.ApiType type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • provideHttpEndpointService

        public org.apache.bookkeeper.http.service.HttpEndpointService provideHttpEndpointService​(org.apache.bookkeeper.http.HttpServer.ApiType type)
        Specified by:
        provideHttpEndpointService in interface org.apache.bookkeeper.http.HttpServiceProvider