public class HttpStateHandler extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LOG_SEPARATOR |
Constructor and Description |
---|
HttpStateHandler() |
Modifier and Type | Method and Description |
---|---|
void |
add(Expectation... expectations) |
void |
clear(HttpRequest request) |
Expectation |
firstMatchingExpectation(HttpRequest request) |
LoggingFormatter |
getLogFormatter() |
WebSocketClientRegistry |
getWebSocketClientRegistry() |
boolean |
handle(HttpRequest request,
ResponseWriter responseWriter,
boolean warDeployment) |
void |
log(LogEntry logEntry) |
void |
reset() |
HttpResponse |
retrieve(HttpRequest request) |
String |
verify(Verification verification) |
String |
verify(VerificationSequence verification) |
public static final String LOG_SEPARATOR
public LoggingFormatter getLogFormatter()
public void clear(HttpRequest request)
public void reset()
public void add(Expectation... expectations)
public Expectation firstMatchingExpectation(HttpRequest request)
public void log(LogEntry logEntry)
public HttpResponse retrieve(HttpRequest request)
public String verify(Verification verification)
public String verify(VerificationSequence verification)
public boolean handle(HttpRequest request, ResponseWriter responseWriter, boolean warDeployment)
public WebSocketClientRegistry getWebSocketClientRegistry()
Copyright © 2018. All rights reserved.