Uses of Interface
net.officefloor.server.http.mock.MockHttpResponse
-
Packages that use MockHttpResponse Package Description net.officefloor.server.http.mock net.officefloor.woof.mock -
-
Uses of MockHttpResponse in net.officefloor.server.http.mock
Classes in net.officefloor.server.http.mock that implement MockHttpResponse Modifier and Type Class Description protected static class
MockHttpServer.MockHttpResponseImpl
MockHttpResponse
implementation.Methods in net.officefloor.server.http.mock that return MockHttpResponse Modifier and Type Method Description MockHttpResponse
MockHttpResponseBuilder. build()
Builds theMockHttpResponse
.protected MockHttpResponse
MockHttpServer. createMockHttpResponse(MockHttpServer.MockHttpRequest request, java.lang.Throwable failure)
Creates theMockHttpResponse
.protected MockHttpResponse
MockHttpServer. createMockHttpResponse(MockHttpServer.MockHttpRequest request, HttpVersion version, HttpStatus status, java.util.List<WritableHttpHeader> headers, java.util.List<WritableHttpCookie> cookies, java.io.InputStream entityInputStream)
Creates theMockHttpResponse
.MockHttpResponse
MockHttpServer.MockServerHttpConnectionImpl. send(java.lang.Throwable escalation)
MockHttpResponse
MockHttpServer. send(MockHttpRequestBuilder request)
Sends theMockHttpRequestBuilder
and blocks waiting for theMockHttpResponse
.MockHttpResponse
MockServerHttpConnection. send(java.lang.Throwable escalation)
Sends theHttpResponse
.MockHttpResponse
MockHttpServer. sendFollowRedirect(MockHttpRequestBuilder request)
Sends theMockHttpRequestBuilder
and blocks following the redirect.Methods in net.officefloor.server.http.mock with parameters of type MockHttpResponse Modifier and Type Method Description MockHttpRequestBuilder
MockHttpRequestBuilder. cookies(MockHttpResponse response)
Adds all the appropriateWritableHttpCookie
instances from theMockHttpResponse
.void
MockHttpRequestCallback. response(MockHttpResponse response)
Callback with theMockHttpResponse
.void
MockHttpServer.MockServerHttpConnectionImpl. response(MockHttpResponse response)
-
Uses of MockHttpResponse in net.officefloor.woof.mock
Subinterfaces of MockHttpResponse in net.officefloor.woof.mock Modifier and Type Interface Description interface
MockWoofResponse
MockHttpResponse
with additional assertions.Classes in net.officefloor.woof.mock that implement MockHttpResponse Modifier and Type Class Description protected class
MockWoofServer.MockWoofResponseImpl
MockWoofResponse
implementation.Methods in net.officefloor.woof.mock that return MockHttpResponse Modifier and Type Method Description protected MockHttpResponse
MockWoofServer. createMockHttpResponse(MockHttpServer.MockHttpRequest request, java.lang.Throwable failure)
protected MockHttpResponse
MockWoofServer. createMockHttpResponse(MockHttpServer.MockHttpRequest request, HttpVersion version, HttpStatus status, java.util.List<WritableHttpHeader> headers, java.util.List<WritableHttpCookie> cookies, java.io.InputStream entityInputStream)
-