public class WebSocketClient<T extends HttpObject> extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLIENT_REGISTRATION_ID_HEADER |
Constructor and Description |
---|
WebSocketClient(io.netty.channel.EventLoopGroup eventLoopGroup,
String clientId,
MockServerLogger mockServerLogger) |
Modifier and Type | Method and Description |
---|---|
Future<String> |
registerExpectationCallback(ExpectationCallback<T> expectationCallback,
ExpectationForwardAndResponseCallback expectationForwardResponseCallback,
InetSocketAddress serverAddress,
String contextPath,
boolean isSecure) |
void |
stopClient() |
public static final String CLIENT_REGISTRATION_ID_HEADER
public WebSocketClient(io.netty.channel.EventLoopGroup eventLoopGroup, String clientId, MockServerLogger mockServerLogger)
public void stopClient()
public Future<String> registerExpectationCallback(ExpectationCallback<T> expectationCallback, ExpectationForwardAndResponseCallback expectationForwardResponseCallback, InetSocketAddress serverAddress, String contextPath, boolean isSecure)
Copyright © 2020. All rights reserved.