Package net.officefloor.server.http.mock
Interface MockServerHttpConnection
-
- All Superinterfaces:
ServerHttpConnection
- All Known Implementing Classes:
MockHttpServer.MockServerHttpConnectionImpl
public interface MockServerHttpConnection extends ServerHttpConnection
MockServerHttpConnection
.- Author:
- Daniel Sagenschneider
-
-
Field Summary
-
Fields inherited from interface net.officefloor.server.http.ServerHttpConnection
DEFAULT_HTTP_ENTITY_CHARSET, HTTP_CHARSET, URI_CHARSET
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MockHttpResponse
send(java.lang.Throwable escalation)
Sends theHttpResponse
.-
Methods inherited from interface net.officefloor.server.http.ServerHttpConnection
exportState, getClientRequest, getRequest, getResponse, getServerLocation, importState, isSecure
-
-
-
-
Method Detail
-
send
MockHttpResponse send(java.lang.Throwable escalation)
Sends theHttpResponse
.- Parameters:
escalation
- OptionalEscalation
. Should benull
for successful processing.- Returns:
MockHttpResponse
.
-
-