Class ReadLedgerEntryService

  • All Implemented Interfaces:
    org.apache.bookkeeper.http.service.HttpEndpointService

    public class ReadLedgerEntryService
    extends java.lang.Object
    implements org.apache.bookkeeper.http.service.HttpEndpointService
    HttpEndpointService that handle Bookkeeper read ledger entry related http request.

    The GET method will print all entry content of wanted entry. User should set wanted "ledger_id", and can choose only print out wanted entry by set parameter "start_entry_id", "end_entry_id" and "page".

    • Method Detail

      • handle

        public org.apache.bookkeeper.http.service.HttpServiceResponse handle​(org.apache.bookkeeper.http.service.HttpServiceRequest request)
                                                                      throws java.lang.Exception
        Specified by:
        handle in interface org.apache.bookkeeper.http.service.HttpEndpointService
        Throws:
        java.lang.Exception