Uses of Record Class
org.microproxy.http.WebSocketMessage
Packages that use WebSocketMessage
-
Uses of WebSocketMessage in org.microproxy
Methods in org.microproxy that return WebSocketMessageModifier and TypeMethodDescriptiondefault WebSocketMessageHttpFilters.filterWebSocketMessage(WebSocketMessage message, boolean fromClient) Rewrites or drops a whole WebSocket message on an upgraded connection.HttpFiltersBuilder.Built.filterWebSocketMessage(WebSocketMessage message, boolean fromClient) HttpFiltersChain.Chained.filterWebSocketMessage(WebSocketMessage message, boolean fromClient) Methods in org.microproxy that return types with arguments of type WebSocketMessageModifier and TypeMethodDescriptiondefault List<WebSocketMessage> HttpFilters.filterWebSocketMessages(WebSocketMessage message, boolean fromClient) The messages to send in place ofmessage, in order.HttpFiltersChain.Chained.filterWebSocketMessages(WebSocketMessage message, boolean fromClient) Methods in org.microproxy with parameters of type WebSocketMessageModifier and TypeMethodDescriptiondefault WebSocketMessageHttpFilters.filterWebSocketMessage(WebSocketMessage message, boolean fromClient) Rewrites or drops a whole WebSocket message on an upgraded connection.HttpFiltersBuilder.Built.filterWebSocketMessage(WebSocketMessage message, boolean fromClient) HttpFiltersChain.Chained.filterWebSocketMessage(WebSocketMessage message, boolean fromClient) default List<WebSocketMessage> HttpFilters.filterWebSocketMessages(WebSocketMessage message, boolean fromClient) The messages to send in place ofmessage, in order.HttpFiltersChain.Chained.filterWebSocketMessages(WebSocketMessage message, boolean fromClient) Method parameters in org.microproxy with type arguments of type WebSocketMessageModifier and TypeMethodDescriptionHttpFiltersBuilder.onWebSocketMessage(BiFunction<WebSocketMessage, Boolean, WebSocketMessage> hook) Each whole WebSocket message, joined from its frames (and inflated), with whether it came from the client: return it, a replacement, ornullto drop it (seeHttpFilters.filterWebSocketMessage(org.microproxy.http.WebSocketMessage, boolean)).HttpFiltersBuilder.onWebSocketMessage(BiFunction<WebSocketMessage, Boolean, WebSocketMessage> hook) Each whole WebSocket message, joined from its frames (and inflated), with whether it came from the client: return it, a replacement, ornullto drop it (seeHttpFilters.filterWebSocketMessage(org.microproxy.http.WebSocketMessage, boolean)). -
Uses of WebSocketMessage in org.microproxy.http
Methods in org.microproxy.http that return WebSocketMessageModifier and TypeMethodDescriptionstatic WebSocketMessageWebSocketMessage.binary(byte[] data, boolean fromClient) A binary message.static WebSocketMessageA text message.WebSocketMessage.withFromClient(boolean fromClient) This message travelling the other way, or the same way: a hook that returns it withfromClientchanged sends it back to where the original came from.WebSocketMessage.withPayload(byte[] data) This message with another payload, keeping its type and direction.This message with another payload, encoded as UTF-8, keeping its type and direction.WebSocketMessage.withType(WebSocketMessage.Type newType) This message as another type, keeping its payload and direction.