Class GuicedUndertowWebSocketConfiguration
java.lang.Object
com.guicedee.guicedservlets.undertow.GuicedUndertowWebSocketConfiguration
- All Implemented Interfaces:
com.guicedee.guicedinjection.interfaces.IDefaultService<GuicedUndertowWebSocketConfiguration>,com.guicedee.guicedinjection.interfaces.IServiceEnablement<GuicedUndertowWebSocketConfiguration>,IWebSocketPreConfiguration<GuicedUndertowWebSocketConfiguration>,java.lang.Comparable<GuicedUndertowWebSocketConfiguration>,java.util.Comparator<GuicedUndertowWebSocketConfiguration>
public class GuicedUndertowWebSocketConfiguration extends java.lang.Object implements IWebSocketPreConfiguration<GuicedUndertowWebSocketConfiguration>
-
Constructor Summary
Constructors Constructor Description GuicedUndertowWebSocketConfiguration() -
Method Summary
Modifier and Type Method Description voidconfigure()booleanenabled()static io.undertow.websockets.jsr.WebSocketDeploymentInfogetWebSocketDeploymentInfo()Returns the WebSocketDeploymentInfo for use in the Servlet Extensionstatic io.undertow.server.HttpHandlergetWebSocketHandler()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GuicedUndertowWebSocketConfiguration
public GuicedUndertowWebSocketConfiguration()
-
-
Method Details
-
getWebSocketDeploymentInfo
public static io.undertow.websockets.jsr.WebSocketDeploymentInfo getWebSocketDeploymentInfo()Returns the WebSocketDeploymentInfo for use in the Servlet Extension- Returns:
- The Web Socket Deployment Info
-
getWebSocketHandler
public static io.undertow.server.HttpHandler getWebSocketHandler() -
configure
public void configure()- Specified by:
configurein interfaceIWebSocketPreConfiguration<GuicedUndertowWebSocketConfiguration>
-
enabled
public boolean enabled()- Specified by:
enabledin interfacecom.guicedee.guicedinjection.interfaces.IServiceEnablement<GuicedUndertowWebSocketConfiguration>
-