Uses of Enum Class
io.fluxzero.common.websocket.WebSocketTransportFormat
Packages that use WebSocketTransportFormat
Package
Description
-
Uses of WebSocketTransportFormat in io.fluxzero.common.api.modeling
Methods in io.fluxzero.common.api.modeling with parameters of type WebSocketTransportFormatModifier and TypeMethodDescriptionModelWebSocketCodec.tryDecode(byte[] bytes, WebSocketTransportFormat format) byte[]ModelWebSocketCodec.tryEncode(JsonType value, WebSocketTransportFormat format) -
Uses of WebSocketTransportFormat in io.fluxzero.common.api.tracking
Methods in io.fluxzero.common.api.tracking with parameters of type WebSocketTransportFormatModifier and TypeMethodDescriptionTrackingWebSocketCodec.tryDecode(byte[] bytes, WebSocketTransportFormat format) byte[]TrackingWebSocketCodec.tryEncode(JsonType value, WebSocketTransportFormat format) -
Uses of WebSocketTransportFormat in io.fluxzero.common.websocket
Subclasses with type arguments of type WebSocketTransportFormat in io.fluxzero.common.websocketModifier and TypeClassDescriptionenumWire formats supported by the Fluxzero websocket transport.Methods in io.fluxzero.common.websocket that return WebSocketTransportFormatModifier and TypeMethodDescriptionWebSocketTransportCodec.format()The negotiated format handled by this codec.static WebSocketTransportFormatReturns the enum constant of this class with the specified name.static WebSocketTransportFormat[]WebSocketTransportFormat.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.fluxzero.common.websocket that return types with arguments of type WebSocketTransportFormatModifier and TypeMethodDescriptionstatic Optional<WebSocketTransportFormat> WebSocketCapabilities.getPreferredTransportFormat(Map<String, List<String>> headers) Returns the most preferred websocket transport format advertised via request headers, if available.static Optional<WebSocketTransportFormat> WebSocketCapabilities.getSelectedTransportFormat(Map<String, List<String>> headers) static List<WebSocketTransportFormat> WebSocketCapabilities.getSupportedTransportFormats(Map<String, List<String>> headers) Extracts the ordered list of websocket transport formats from websocket request headers.Methods in io.fluxzero.common.websocket with parameters of type WebSocketTransportFormatModifier and TypeMethodDescriptionstatic WebSocketTransportCodecWebSocketTransportCodecs.forFormat(WebSocketTransportFormat format, com.fasterxml.jackson.databind.ObjectMapper objectMapper) Creates a codec for the supplied format.static WebSocketTransportCodecWebSocketTransportCodecs.forFormat(WebSocketTransportFormat format, com.fasterxml.jackson.databind.ObjectMapper objectMapper, List<? extends WebSocketPayloadCodec> payloadCodecs) Creates a codec with optional protocol-specific compact payload representations.WebSocketPayloadCodec.tryDecode(byte[] bytes, WebSocketTransportFormat format) Returns the decoded value, ornullwhen the bytes do not belong to this codec.byte[]WebSocketPayloadCodec.tryEncode(JsonType value, WebSocketTransportFormat format) Returns a compact representation, ornullwhen this codec does not own the value.Method parameters in io.fluxzero.common.websocket with type arguments of type WebSocketTransportFormatModifier and TypeMethodDescriptionWebSocketCapabilities.asTransportHeaders(Collection<WebSocketTransportFormat> supportedTransportFormats) Serializes the supplied websocket transport formats into websocket request headers.