Class WebSocketClientEndpointConfiguration
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointConfiguration
org.citrusframework.endpoint.AbstractPollableEndpointConfiguration
org.citrusframework.websocket.endpoint.AbstractWebSocketEndpointConfiguration
org.citrusframework.websocket.client.WebSocketClientEndpointConfiguration
- All Implemented Interfaces:
EndpointConfiguration,PollableEndpointConfiguration,WebSocketEndpointConfiguration
Web socket endpoint configuration for client side web socket communication.
- Since:
- 2.3
- Author:
- Martin Maher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets or constructs new web socket handler.org.springframework.web.socket.WebSocketHttpHeadersGets the webSocketHttpHeaders.voidsetClient(org.springframework.web.socket.client.WebSocketClient client) Sets the web socket client.voidsetHandler(CitrusWebSocketHandler handler) Sets web socket handler.voidsetWebSocketHttpHeaders(org.springframework.web.socket.WebSocketHttpHeaders webSocketHttpHeaders) Sets the webSocketHttpHeaders.Methods inherited from class org.citrusframework.websocket.endpoint.AbstractWebSocketEndpointConfiguration
getEndpointUri, getEndpointUriResolver, getMessageConverter, setEndpointUri, setEndpointUriResolver, setMessageConverterMethods inherited from class org.citrusframework.endpoint.AbstractPollableEndpointConfiguration
getPollingInterval, setPollingIntervalMethods inherited from class org.citrusframework.endpoint.AbstractEndpointConfiguration
getTimeout, setTimeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.endpoint.EndpointConfiguration
getTimeout, setTimeoutMethods inherited from interface org.citrusframework.endpoint.PollableEndpointConfiguration
getPollingInterval, setPollingInterval
-
Constructor Details
-
WebSocketClientEndpointConfiguration
public WebSocketClientEndpointConfiguration()
-
-
Method Details
-
getHandler
Description copied from interface:WebSocketEndpointConfigurationGets or constructs new web socket handler.- Returns:
-
setHandler
Description copied from interface:WebSocketEndpointConfigurationSets web socket handler. -
setClient
public void setClient(org.springframework.web.socket.client.WebSocketClient client) Sets the web socket client.- Parameters:
client-
-
getWebSocketHttpHeaders
public org.springframework.web.socket.WebSocketHttpHeaders getWebSocketHttpHeaders()Gets the webSocketHttpHeaders.- Returns:
-
setWebSocketHttpHeaders
public void setWebSocketHttpHeaders(org.springframework.web.socket.WebSocketHttpHeaders webSocketHttpHeaders) Sets the webSocketHttpHeaders.- Parameters:
webSocketHttpHeaders-
-