public class HttpStateHandler extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LOG_SEPARATOR |
static String |
PATH_PREFIX |
Constructor and Description |
---|
HttpStateHandler(Scheduler scheduler) |
Modifier and Type | Method and Description |
---|---|
void |
add(Expectation... expectations) |
void |
clear(HttpRequest request) |
Expectation |
firstMatchingExpectation(HttpRequest request) |
MockServerEventLog |
getMockServerLog() |
MockServerLogger |
getMockServerLogger() |
MockServerMatcher |
getMockServerMatcher() |
Scheduler |
getScheduler() |
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 static final String PATH_PREFIX
public HttpStateHandler(Scheduler scheduler)
public MockServerLogger getMockServerLogger()
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()
public MockServerMatcher getMockServerMatcher()
public MockServerEventLog getMockServerLog()
public Scheduler getScheduler()
Copyright © 2018. All rights reserved.