public class HttpStateHandler extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpStateHandler.ClearType |
static class |
HttpStateHandler.Format |
static class |
HttpStateHandler.RetrieveType |
Constructor and Description |
---|
HttpStateHandler() |
Modifier and Type | Method and Description |
---|---|
void |
add(Expectation... expectations) |
void |
clear(HttpRequest request) |
Expectation |
firstMatchingExpectation(HttpRequest request) |
WebSocketClientRegistry |
getWebSocketClientRegistry() |
boolean |
handle(HttpRequest request,
ResponseWriter responseWriter,
boolean warDeployment) |
void |
log(LogEntry logEntry) |
void |
reset() |
String |
retrieve(HttpRequest request) |
String |
verify(Verification verification) |
String |
verify(VerificationSequence verification) |
public void clear(HttpRequest request)
public void reset()
public void add(Expectation... expectations)
public Expectation firstMatchingExpectation(HttpRequest request)
public void log(LogEntry logEntry)
public String 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.