Class BKHttpServiceProvider
- java.lang.Object
-
- org.apache.bookkeeper.server.http.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)
-
-
-
Method Detail
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.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 interfaceorg.apache.bookkeeper.http.HttpServiceProvider
-
-