Class JsrServerExtendsEndpointImpl
java.lang.Object
org.eclipse.jetty.websocket.jsr356.server.JsrServerExtendsEndpointImpl
- All Implemented Interfaces:
EventDriverImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(Object websocket, WebSocketPolicy policy) Create the EventDriver based on this implementation.human readable string describing the rule that would support this EventDriver.boolean
Test for if this implementation can support the provided websocket.
-
Constructor Details
-
JsrServerExtendsEndpointImpl
public JsrServerExtendsEndpointImpl()
-
-
Method Details
-
create
Description copied from interface:EventDriverImpl
Create the EventDriver based on this implementation.- Specified by:
create
in interfaceEventDriverImpl
- Parameters:
websocket
- the websocket to wrappolicy
- the policy to use- Returns:
- the created EventDriver
-
describeRule
Description copied from interface:EventDriverImpl
human readable string describing the rule that would support this EventDriver.Used to help developer with possible object annotations, listeners, or base classes.
- Specified by:
describeRule
in interfaceEventDriverImpl
- Returns:
- the human readable description of this event driver rule(s).
-
supports
Description copied from interface:EventDriverImpl
Test for if this implementation can support the provided websocket.- Specified by:
supports
in interfaceEventDriverImpl
- Parameters:
websocket
- the possible websocket to test- Returns:
- true if implementation can support it, false if otherwise.
-