@Override public HttpRequest getClientRequest() { return this.delegate.getClientRequest(); } }
@Override public boolean isSecure() { return this.delegate.isSecure(); }
@Override public HttpServerLocation getServerLocation() { return this.delegate.getServerLocation(); }
@Override public HttpRequest build() { // Return the request (capturing current content) final HttpMethod method = this.method; final String requestUri = this.requestUri; final MaterialisingHttpRequestHeaders headers = new MaterialisingHttpRequestHeaders(this); final MaterialisingHttpRequestCookies cookies = new MaterialisingHttpRequestCookies(headers); final ByteArrayByteSequence entity = new ByteArrayByteSequence(this.entity.toByteArray()); return new MaterialisingHttpRequest(() -> method, () -> requestUri, this.version, headers, cookies, entity); }
@Override public void setContentType(String contentType, Charset charset) throws IOException { this.delegate.setContentType(contentType, charset); }
@Override public HttpResponseHeaders getHeaders() { return this.delegate.getHeaders(); }
@Override public String getContentType() { return this.delegate.getContentType(); }
@Override public Charset getContentCharset() { return this.delegate.getContentCharset(); }
@Override public HttpResponseCookies getCookies() { return this.delegate.getCookies(); }
@Override public ServerOutputStream getEntity() throws IOException { return this.delegate.getEntity(); }
@Override public HttpEscalationHandler getEscalationHandler() { return this.delegate.getEscalationHandler(); }
@Override public void setVersion(HttpVersion version) { this.delegate.setVersion(version); }
@Override public ServerWriter getEntityWriter() throws IOException { return this.delegate.getEntityWriter(); }
@Override public void setEscalationHandler(HttpEscalationHandler escalationHandler) { this.delegate.setEscalationHandler(escalationHandler); }
@Override public void send() throws IOException { this.delegate.send(); }
@Override public HttpRequest getRequest() { return this.delegate.getRequest(); }
@Override public HttpResponse getResponse() { return this.delegate.getResponse(); }
@Override public HttpStatus getStatus() { return this.delegate.getStatus(); }
@Override public void setStatus(HttpStatus status) { this.delegate.setStatus(status); }
@Override public void setContentType(HttpHeaderValue contentTypeAndCharsetValue, Charset charset) throws IOException { this.delegate.setContentType(contentTypeAndCharsetValue, charset); }