ArmeriaServerHttpRequest extends AbstractServerHttpRequest { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("ctx", ctx) .add("req", req) .toString(); } ArmeriaServerHttpRequest(ServiceRequestContext ctx,
                             HttpRequest req,
                             DataBufferFactoryWrapper<?> factoryWrapper); @SuppressWarnings("unchecked") @Override T getNativeRequest(); @Override String getMethodValue(); @Override Flux<DataBuffer> getBody(); @Override InetSocketAddress getRemoteAddress(); @Override String toString();  }
@Test void requestUriContainsBaseUrl() { final HttpRequest httpRequest = HttpRequest.of(RequestHeaders.builder(HttpMethod.POST, "/") .scheme("http") .authority("127.0.0.1") .build()); final ServiceRequestContext ctx = newRequestContext(httpRequest); final ArmeriaServerHttpRequest req = request(ctx); assertThat(req.getURI().toString()).isEqualTo("http: }