Package io.undertow.websockets.annotated
Class DecoderUtils
java.lang.Object
io.undertow.websockets.annotated.DecoderUtils
- Author:
- Stuart Douglas
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<jakarta.websocket.Decoder>getDecodersForType(Class<?> type, jakarta.websocket.EndpointConfig endpointConfiguration) Gets a decoder for a given type.
-
Method Details
-
getDecodersForType
public static List<jakarta.websocket.Decoder> getDecodersForType(Class<?> type, jakarta.websocket.EndpointConfig endpointConfiguration) Gets a decoder for a given type.- Parameters:
type- The typeendpointConfiguration- The endpoint configuration- Returns:
- A list of decoders, or null if no decoders exist
-