OperationsRequestBuilder extends RequestBuilder { public OperationsRequestBuilder forLedger(long ledgerSeq) { this.setSegments("ledgers", String.valueOf(ledgerSeq), "operations"); return this; } OperationsRequestBuilder(OkHttpClient httpClient, URI serverURI); OperationResponse operation(URI uri); OperationResponse operation(long operationId); OperationsRequestBuilder forAccount(KeyPair account); OperationsRequestBuilder forLedger(long ledgerSeq); OperationsRequestBuilder forTransaction(String transactionId); static Page<OperationResponse> execute(OkHttpClient httpClient, URI uri); Page<OperationResponse> execute(); @Override OperationsRequestBuilder cursor(String token); @Override OperationsRequestBuilder limit(int number); @Override OperationsRequestBuilder order(Order direction); @Override ServerSentEvent stream(EventListener<ListenerType> listener);  }
@Test public void testForLedger() { Server server = new Server("https: URI uri = server.operations() .forLedger(200000000000L) .limit(50) .order(RequestBuilder.Order.ASC) .buildUri(); assertEquals("https: }