@Test public void shouldEncodeStatusRequest() { final Bytes actualBytes = encoder.encodeRequest(RECORDED_STATUS_MESSAGE_DATA); assertThat(actualBytes).isEqualTo(RECORDED_STATUS_REQUEST_BYTES); }
public <T> Bytes encodeRequest(T request) { return encoding.encodePayload(request); }
RpcEncoder { public <T> Bytes encodeRequest(T request) { return encoding.encodePayload(request); } }
RpcEncoder { public <T> Bytes encodeRequest(T request) { return encoding.encodePayload(request); } RpcEncoder(final RpcEncoding encoding); }
RpcEncoder { public <T> Bytes encodeRequest(T request) { return encoding.encodePayload(request); } RpcEncoder(final RpcEncoding encoding); Bytes encodeRequest(T request); Bytes encodeSuccessfulResponse(T response); Bytes encodeErrorResponse(RpcException error); }
RpcEncoder { public <T> Bytes encodeRequest(T request) { return encoding.encodePayload(request); } RpcEncoder(final RpcEncoding encoding); Bytes encodeRequest(T request); Bytes encodeSuccessfulResponse(T response); Bytes encodeErrorResponse(RpcException error);  }