JettyWebSocketFrameHandler instances suitable for
use with jetty-native websocket API.
Will create a org. suitable for use with classes/objects that:
org.eclipse.jetty.websocket.api.annotations.WebSocket annotatedorg.eclipse.jetty.websocket.api.Session.Listener | Modifier and Type | Field and Description |
|---|---|
| private static final InvokerUtils. | |
| private static final InvokerUtils. | |
| private final WebSocketComponents | |
| private final WebSocketContainer | |
| private static final InvokerUtils. | |
| private final Map | |
| private static final InvokerUtils. | |
| private static final InvokerUtils. | |
| private static final InvokerUtils. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | assertSignatureValid(Class<?> endpointClass, Method method, Class<? extends Annotation> annotationClass)
|
| private JettyWebSocketFrameHandlerMetadata | |
| private JettyWebSocketFrameHandlerMetadata | |
| public JettyWebSocketFrameHandlerMetadata | |
| public void | dump(Appendable
The appendable to dump to out, String The indent to apply after any new lines. indent)Overrides org. Implements org. Dump this object (and children) into an Appendable using the provided indent after any new lines. |
| private Method | |
| public static MethodHandles. | Returns: a lookup object to be used to find methods on the lookupClass.the desired lookup class for the new lookup object. lookupClass)
Gives a |
| public JettyWebSocketFrameHandlerMetadata | |
| public static MethodHandles. | Returns: a lookup object to be used to find methods on server classes.
Gives a |
| public WebSocketComponents | |
| private boolean | |
| public JettyWebSocketFrameHandler | |
| private MethodHandle |
| binaryBufferCallingArgs | back to summary |
|---|---|
| private static final InvokerUtils. | |
| binaryPartialBufferCallingArgs | back to summary |
|---|---|
| private static final InvokerUtils. | |
| components | back to summary |
|---|---|
| private final WebSocketComponents components | |
| container | back to summary |
|---|---|
| private final WebSocketContainer container | |
| inputStreamCallingArgs | back to summary |
|---|---|
| private static final InvokerUtils. | |
| metadataMap | back to summary |
|---|---|
| private final Map<Class<?>, JettyWebSocketFrameHandlerMetadata> metadataMap | |
| readerCallingArgs | back to summary |
|---|---|
| private static final InvokerUtils. | |
| textCallingArgs | back to summary |
|---|---|
| private static final InvokerUtils. | |
| textPartialCallingArgs | back to summary |
|---|---|
| private static final InvokerUtils. | |
| JettyWebSocketFrameHandlerFactory | back to summary |
|---|---|
| public JettyWebSocketFrameHandlerFactory(WebSocketContainer container, WebSocketComponents components) | |
| assertSignatureValid | back to summary |
|---|---|
| private void assertSignatureValid(Class<?> endpointClass, Method method, Class<? extends Annotation> annotationClass) | |
| createAnnotatedMetadata | back to summary |
|---|---|
| private JettyWebSocketFrameHandlerMetadata createAnnotatedMetadata(WebSocket anno, Class<?> endpointClass) | |
| createListenerMetadata | back to summary |
|---|---|
| private JettyWebSocketFrameHandlerMetadata createListenerMetadata(Class<?> endpointClass) | |
| createMetadata | back to summary |
|---|---|
| public JettyWebSocketFrameHandlerMetadata createMetadata(Class<?> endpointClass) | |
| dump | back to summary |
|---|---|
| public void dump(Appendable out, String indent) throws IOException Overrides org. Implements org. Doc from org. Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
| |
| findMethod | back to summary |
|---|---|
| private Method findMethod(Class<?> klass, String name, Class<?>... parameters) | |
| getApplicationMethodHandleLookup | back to summary |
|---|---|
| public static MethodHandles.
Gives a
This uses
The
| |
| getMetadata | back to summary |
|---|---|
| public JettyWebSocketFrameHandlerMetadata getMetadata(Class<?> endpointClass) | |
| getServerMethodHandleLookup | back to summary |
|---|---|
| public static MethodHandles.
Gives a
This uses the caller sensitive
| |
| getWebSocketComponents | back to summary |
|---|---|
| public WebSocketComponents getWebSocketComponents() | |
| isOverridden | back to summary |
|---|---|
| private boolean isOverridden(Method method) | |
| newJettyFrameHandler | back to summary |
|---|---|
| public JettyWebSocketFrameHandler newJettyFrameHandler(Object endpointInstance) | |
| toMethodHandle | back to summary |
|---|---|
| private MethodHandle toMethodHandle(MethodHandles. | |