@Test(expectedExceptions = IllegalStateException.class) public void testBuildWithUnsupportedUri() { String uri = "http: HttpRequest nettyRequest = new DefaultFullHttpRequest(HttpVersion.HTTP_1_0, HttpMethod.GET, uri); RecordedHttpRequestBuilder recordedHttpRequestBuilder = new RecordedHttpRequestBuilder(nettyRequest); recordedHttpRequestBuilder.build(); }
public RecordedHttpRequest build() { return new RecordedHttpRequest(_httpMethod, _uri, getHeaders(), getBody()); }
RecordedHttpRequestBuilder extends RecordedHttpMessageBuilder { public RecordedHttpRequest build() { return new RecordedHttpRequest(_httpMethod, _uri, getHeaders(), getBody()); } }
RecordedHttpRequestBuilder extends RecordedHttpMessageBuilder { public RecordedHttpRequest build() { return new RecordedHttpRequest(_httpMethod, _uri, getHeaders(), getBody()); } RecordedHttpRequestBuilder(HttpRequest nettyHttpRequest); }
RecordedHttpRequestBuilder extends RecordedHttpMessageBuilder { public RecordedHttpRequest build() { return new RecordedHttpRequest(_httpMethod, _uri, getHeaders(), getBody()); } RecordedHttpRequestBuilder(HttpRequest nettyHttpRequest); void interpretHttpRequest(HttpRequest nettyHttpRequest); @Override void addHeaders(HttpMessage httpMessage); RecordedHttpRequest build(); }
RecordedHttpRequestBuilder extends RecordedHttpMessageBuilder { public RecordedHttpRequest build() { return new RecordedHttpRequest(_httpMethod, _uri, getHeaders(), getBody()); } RecordedHttpRequestBuilder(HttpRequest nettyHttpRequest); void interpretHttpRequest(HttpRequest nettyHttpRequest); @Override void addHeaders(HttpMessage httpMessage); RecordedHttpRequest build();  }