Package org.mockserver.websocket
Class WebSocketClient<T extends HttpObject>
- java.lang.Object
-
- org.mockserver.websocket.WebSocketClient<T>
-
public class WebSocketClient<T extends HttpObject> extends Object
- Author:
- jamesdbloom
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLIENT_REGISTRATION_ID_HEADER
-
Constructor Summary
Constructors Constructor Description WebSocketClient(io.netty.channel.EventLoopGroup eventLoopGroup, MockServerLogger mockServerLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Future<String>
registerExpectationCallback(ExpectationCallback<T> expectationCallback, ExpectationForwardAndResponseCallback expectationForwardResponseCallback, InetSocketAddress serverAddress, String contextPath, boolean isSecure)
void
stopClient()
-
-
-
Field Detail
-
CLIENT_REGISTRATION_ID_HEADER
public static final String CLIENT_REGISTRATION_ID_HEADER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebSocketClient
public WebSocketClient(io.netty.channel.EventLoopGroup eventLoopGroup, MockServerLogger mockServerLogger)
-
-
Method Detail
-
stopClient
public void stopClient()
-
registerExpectationCallback
public Future<String> registerExpectationCallback(ExpectationCallback<T> expectationCallback, ExpectationForwardAndResponseCallback expectationForwardResponseCallback, InetSocketAddress serverAddress, String contextPath, boolean isSecure)
-
-