Class WebSocketClientEndpointConfiguration
- java.lang.Object
-
- com.consol.citrus.endpoint.AbstractEndpointConfiguration
-
- com.consol.citrus.endpoint.AbstractPollableEndpointConfiguration
-
- com.consol.citrus.websocket.endpoint.AbstractWebSocketEndpointConfiguration
-
- com.consol.citrus.websocket.client.WebSocketClientEndpointConfiguration
-
- All Implemented Interfaces:
EndpointConfiguration,PollableEndpointConfiguration,WebSocketEndpointConfiguration
public class WebSocketClientEndpointConfiguration extends AbstractWebSocketEndpointConfiguration
Web socket endpoint configuration for client side web socket communication.- Since:
- 2.3
- Author:
- Martin Maher
-
-
Constructor Summary
Constructors Constructor Description WebSocketClientEndpointConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CitrusWebSocketHandlergetHandler()Gets or constructs new web socket handler.org.springframework.web.socket.WebSocketHttpHeadersgetWebSocketHttpHeaders()Gets 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 com.consol.citrus.websocket.endpoint.AbstractWebSocketEndpointConfiguration
getEndpointUri, getEndpointUriResolver, getMessageConverter, setEndpointUri, setEndpointUriResolver, setMessageConverter
-
Methods inherited from class com.consol.citrus.endpoint.AbstractPollableEndpointConfiguration
getPollingInterval, setPollingInterval
-
Methods inherited from class com.consol.citrus.endpoint.AbstractEndpointConfiguration
getTimeout, setTimeout
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.consol.citrus.endpoint.EndpointConfiguration
getTimeout, setTimeout
-
Methods inherited from interface com.consol.citrus.endpoint.PollableEndpointConfiguration
getPollingInterval, setPollingInterval
-
-
-
-
Method Detail
-
getHandler
public CitrusWebSocketHandler getHandler()
Description copied from interface:WebSocketEndpointConfigurationGets or constructs new web socket handler.- Returns:
-
setHandler
public void setHandler(CitrusWebSocketHandler handler)
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-
-
-