Interface WebSocketEndpointConfiguration
- All Superinterfaces:
EndpointConfiguration,PollableEndpointConfiguration
- All Known Implementing Classes:
AbstractWebSocketEndpointConfiguration,WebSocketClientEndpointConfiguration,WebSocketServerEndpointConfiguration
Web socket endpoint configuration interface defines set of properties all web socket endpoints should have.
- Since:
- 2.3
- Author:
- Christoph Deppisch
-
Method Summary
Modifier and TypeMethodDescriptionGets the web socket endpoint uri.Gets the endpointUriResolver.Gets or constructs new web socket handler.Gets the message converter.voidsetEndpointUri(String endpointUri) Sets the web socket endpoint uri.voidsetEndpointUriResolver(EndpointUriResolver endpointUriResolver) Sets the endpoint uri resolver.voidsetHandler(CitrusWebSocketHandler handler) Sets web socket handler.voidsetMessageConverter(WebSocketMessageConverter messageConverter) Sets the message converter.Methods inherited from interface org.citrusframework.endpoint.EndpointConfiguration
getTimeout, setTimeoutMethods inherited from interface org.citrusframework.endpoint.PollableEndpointConfiguration
getPollingInterval, setPollingInterval
-
Method Details
-
getHandler
CitrusWebSocketHandler getHandler()Gets or constructs new web socket handler.- Returns:
-
setHandler
Sets web socket handler. -
getEndpointUri
String getEndpointUri()Gets the web socket endpoint uri.- Returns:
-
setEndpointUri
Sets the web socket endpoint uri.- Parameters:
endpointUri-
-
getMessageConverter
WebSocketMessageConverter getMessageConverter()Gets the message converter.- Returns:
-
setMessageConverter
Sets the message converter.- Parameters:
messageConverter-
-
getEndpointUriResolver
EndpointUriResolver getEndpointUriResolver()Gets the endpointUriResolver.- Returns:
- the endpointUriResolver
-
setEndpointUriResolver
Sets the endpoint uri resolver.- Parameters:
endpointUriResolver- the endpointUriResolver to set
-