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) byte[]ModelWebSocketCodec.tryEncode(JsonType value, WebSocketTransportFormat format, boolean routedEnvelopes) -
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) byte[]TrackingWebSocketCodec.tryEncode(JsonType value, WebSocketTransportFormat format, boolean routedEnvelopes) -
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) Reads the negotiated transport format from handshake headers, returning empty for a missing or unrecognized selection.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.static WebSocketTransportCodecWebSocketTransportCodecs.forFormat(WebSocketTransportFormat format, com.fasterxml.jackson.databind.ObjectMapper objectMapper, List<? extends WebSocketPayloadCodec> payloadCodecs, boolean routedEnvelopes) Creates a codec after negotiating the peer's ability to read native routed envelopes.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.default byte[]WebSocketPayloadCodec.tryEncode(JsonType value, WebSocketTransportFormat format, boolean routedEnvelopes) Encodes with the peer's native envelope capability; existing custom codecs keep their own representation.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. -
Uses of WebSocketTransportFormat in io.fluxzero.sdk.common.websocket
Methods in io.fluxzero.sdk.common.websocket that return WebSocketTransportFormatModifier and TypeMethodDescriptionprotected WebSocketTransportFormatAbstractWebsocketClient.getTransportFormat(WebsocketSession session) -
Uses of WebSocketTransportFormat in io.fluxzero.testserver.websocket
Methods in io.fluxzero.testserver.websocket that return WebSocketTransportFormatModifier and TypeMethodDescriptionprotected WebSocketTransportFormatWebsocketEndpoint.getTransportFormat(ServerWebsocketSession session)