Class JsrServerEndpointImpl
- java.lang.Object
- 
- org.eclipse.jetty.websocket.jsr356.server.JsrServerEndpointImpl
 
- 
- All Implemented Interfaces:
- EventDriverImpl
 
 public class JsrServerEndpointImpl extends java.lang.Object implements EventDriverImpl Event Driver for classes annotated with @ServerEndpoint
- 
- 
Constructor SummaryConstructors Constructor Description JsrServerEndpointImpl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description EventDrivercreate(java.lang.Object websocket, WebSocketPolicy policy)Create the EventDriver based on this implementation.java.lang.StringdescribeRule()human readable string describing the rule that would support this EventDriver.booleansupports(java.lang.Object websocket)Test for if this implementation can support the provided websocket.
 
- 
- 
- 
Method Detail- 
createpublic EventDriver create(java.lang.Object websocket, WebSocketPolicy policy) throws java.lang.Throwable Description copied from interface:EventDriverImplCreate the EventDriver based on this implementation.- Specified by:
- createin interface- EventDriverImpl
- Parameters:
- websocket- the websocket to wrap
- policy- the policy to use
- Returns:
- the created EventDriver
- Throws:
- java.lang.Throwable- if unable to create the EventDriver
 
 - 
describeRulepublic java.lang.String describeRule() Description copied from interface:EventDriverImplhuman readable string describing the rule that would support this EventDriver.Used to help developer with possible object annotations, listeners, or base classes. - Specified by:
- describeRulein interface- EventDriverImpl
- Returns:
- the human readable description of this event driver rule(s).
 
 - 
supportspublic boolean supports(java.lang.Object websocket) Description copied from interface:EventDriverImplTest for if this implementation can support the provided websocket.- Specified by:
- supportsin interface- EventDriverImpl
- Parameters:
- websocket- the possible websocket to test
- Returns:
- true if implementation can support it, false if otherwise.
 
 
- 
 
-