Package | Description |
---|---|
org.esigate.test | |
org.esigate.test.http |
Support classes to create HTTP Requests and HTTP Responses.
|
Modifier and Type | Method and Description |
---|---|
static HttpResponseBuilder |
TestUtils.createHttpResponse()
Create a fluent-style builder for
HttpResponse . |
Modifier and Type | Method and Description |
---|---|
HttpResponseBuilder |
HttpResponseBuilder.entity(org.apache.http.HttpEntity paramEntity) |
HttpResponseBuilder |
HttpResponseBuilder.entity(String entityBody) |
HttpResponseBuilder |
HttpResponseBuilder.header(String name,
String value) |
HttpResponseBuilder |
HttpResponseBuilder.protocolVersion(org.apache.http.ProtocolVersion paramProtocolVersion) |
HttpResponseBuilder |
HttpResponseBuilder.reason(String paramReason) |
HttpResponseBuilder |
HttpResponseBuilder.status(int paramStatus)
Set HTTP Status.
|
Copyright © 2008–2018. All rights reserved.