Uses of Interface
net.officefloor.server.http.mock.MockHttpRequestBuilder
-
Packages that use MockHttpRequestBuilder Package Description net.officefloor.scalatest net.officefloor.server.http.mock net.officefloor.web.jwt.mock net.officefloor.web.security.scheme net.officefloor.woof.mock -
-
Uses of MockHttpRequestBuilder in net.officefloor.scalatest
Methods in net.officefloor.scalatest that return MockHttpRequestBuilder Modifier and Type Method Description MockHttpRequestBuilder
ScalaMockWoofServerStaticAccess. mockRequest()
ObtainsMockHttpRequestBuilder
for '/'.MockHttpRequestBuilder
ScalaMockWoofServerStaticAccess. mockRequest(java.lang.String requestUri)
ObtainsMockHttpRequestBuilder
. -
Uses of MockHttpRequestBuilder in net.officefloor.server.http.mock
Methods in net.officefloor.server.http.mock that return MockHttpRequestBuilder Modifier and Type Method Description MockHttpRequestBuilder
MockHttpRequestBuilder. cookie(java.lang.String name, java.lang.String value)
Adds aHttpRequestCookie
.MockHttpRequestBuilder
MockHttpRequestBuilder. cookies(MockHttpResponse response)
Adds all the appropriateWritableHttpCookie
instances from theMockHttpResponse
.MockHttpRequestBuilder
MockHttpRequestBuilder. entity(java.lang.String entity)
Sets the HTTP entity.MockHttpRequestBuilder
MockHttpRequestBuilder. header(java.lang.String name, java.lang.String value)
Adds aHttpHeader
.MockHttpRequestBuilder
MockHttpRequestBuilder. method(HttpMethod method)
Specifies theHttpMethod
.static MockHttpRequestBuilder
MockHttpServer. mockRequest()
Creates theMockHttpRequestBuilder
.static MockHttpRequestBuilder
MockHttpServer. mockRequest(java.lang.String requestUri)
Convenience method to create aMockHttpRequestBuilder
.MockHttpRequestBuilder
MockHttpRequestBuilder. secure(boolean isSecure)
Flags with theHttpRequest
is secure.MockHttpRequestBuilder
MockHttpRequestBuilder. setEfficientForStressTests(boolean isStress)
Flags to turn off checks forHttpRequest
and provide efficient processing.MockHttpRequestBuilder
MockHttpRequestBuilder. uri(java.lang.String requestUri)
Specifies the request URI.MockHttpRequestBuilder
MockHttpRequestBuilder. version(HttpVersion version)
Specifies theHttpVersion
.Methods in net.officefloor.server.http.mock with parameters of type MockHttpRequestBuilder Modifier and Type Method Description static MockServerHttpConnection
MockHttpServer. mockConnection(MockHttpRequestBuilder request)
Creates theMockServerHttpConnection
.MockHttpResponse
MockHttpServer. send(MockHttpRequestBuilder request)
Sends theMockHttpRequestBuilder
and blocks waiting for theMockHttpResponse
.void
MockHttpServer. send(MockHttpRequestBuilder request, MockHttpRequestCallback callback)
Sends theMockHttpRequestBuilder
.MockHttpResponse
MockHttpServer. sendFollowRedirect(MockHttpRequestBuilder request)
Sends theMockHttpRequestBuilder
and blocks following the redirect.Constructors in net.officefloor.server.http.mock with parameters of type MockHttpRequestBuilder Constructor Description MockServerHttpConnectionImpl(MockHttpRequestBuilder request)
Instantiate. -
Uses of MockHttpRequestBuilder in net.officefloor.web.jwt.mock
Methods in net.officefloor.web.jwt.mock that return MockHttpRequestBuilder Modifier and Type Method Description MockHttpRequestBuilder
AbstractMockJwtAccessTokenJUnit. authorize(java.lang.Object claims, MockHttpRequestBuilder requestBuilder)
Methods in net.officefloor.web.jwt.mock with parameters of type MockHttpRequestBuilder Modifier and Type Method Description MockHttpRequestBuilder
AbstractMockJwtAccessTokenJUnit. authorize(java.lang.Object claims, MockHttpRequestBuilder requestBuilder)
-
Uses of MockHttpRequestBuilder in net.officefloor.web.security.scheme
Methods in net.officefloor.web.security.scheme that return MockHttpRequestBuilder Modifier and Type Method Description MockHttpRequestBuilder
MockCredentials. loadHttpRequest(MockHttpRequestBuilder request)
Loads theMockHttpRequestBuilder
with the credentials.Methods in net.officefloor.web.security.scheme with parameters of type MockHttpRequestBuilder Modifier and Type Method Description MockHttpRequestBuilder
MockCredentials. loadHttpRequest(MockHttpRequestBuilder request)
Loads theMockHttpRequestBuilder
with the credentials. -
Uses of MockHttpRequestBuilder in net.officefloor.woof.mock
Methods in net.officefloor.woof.mock that return MockHttpRequestBuilder Modifier and Type Method Description static MockHttpRequestBuilder
MockWoofServer. mockJsonRequest(HttpMethod method, java.lang.Object jsonObject)
CreateMockHttpRequestBuilder
for JSON payload.static MockHttpRequestBuilder
MockWoofServer. mockJsonRequest(HttpMethod method, java.lang.String requestUri, java.lang.Object jsonObject)
CreateMockHttpRequestBuilder
for JSON payload.Methods in net.officefloor.woof.mock with parameters of type MockHttpRequestBuilder Modifier and Type Method Description MockWoofResponse
MockWoofServer. send(MockHttpRequestBuilder request)
MockWoofResponse
MockWoofServer. sendFollowRedirect(MockHttpRequestBuilder request)
-