Uses of Enum Class
org.mockserver.mock.breakpoint.PausedStreamFrame.Direction
Packages that use PausedStreamFrame.Direction
-
Uses of PausedStreamFrame.Direction in org.mockserver.mock.breakpoint
Methods in org.mockserver.mock.breakpoint that return PausedStreamFrame.DirectionModifier and TypeMethodDescriptionPausedStreamFrame.getDirection()The direction of this frame: OUTBOUND (server-to-client) or INBOUND (client-to-server).static PausedStreamFrame.DirectionReturns the enum constant of this class with the specified name.static PausedStreamFrame.Direction[]PausedStreamFrame.Direction.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.mockserver.mock.breakpoint with parameters of type PausedStreamFrame.DirectionModifier and TypeMethodDescriptionStreamFrameCallbackDispatcher.dispatchFrame(String clientId, String streamId, int sequenceNumber, PausedStreamFrame.Direction direction, BreakpointPhase phase, byte[] capturedBytes, String requestMethod, String requestPath, WebSocketClientRegistry webSocketClientRegistry, Configuration configuration, MockServerLogger logger) Deprecated.use the overload that includes breakpointId and requestTimestampStreamFrameCallbackDispatcher.dispatchFrame(String clientId, String breakpointId, String streamId, int sequenceNumber, PausedStreamFrame.Direction direction, BreakpointPhase phase, byte[] capturedBytes, String requestMethod, String requestPath, Long requestTimestamp, WebSocketClientRegistry webSocketClientRegistry, Configuration configuration, MockServerLogger logger) Dispatches a stream frame to a callback WebSocket client for interactive resolution, tagging the message with the matched breakpoint id and request timestamp.StreamFrameCallbackDispatcher.dispatchFrame(String clientId, String breakpointId, String streamId, int sequenceNumber, PausedStreamFrame.Direction direction, BreakpointPhase phase, byte[] capturedBytes, String requestMethod, String requestPath, WebSocketClientRegistry webSocketClientRegistry, Configuration configuration, MockServerLogger logger) Deprecated.use the overload that includes requestTimestampStreamFrameBreakpointRegistry.pauseFrame(String streamId, byte[] chunkBytes, String requestMethod, String requestPath, Configuration configuration, PausedStreamFrame.Direction direction) Park a streaming frame at a breakpoint with an explicit direction.StreamFrameCallbackDispatcher.tryWsDispatch(BreakpointMatcher matchedBreakpoint, String streamId, int sequenceNumber, PausedStreamFrame.Direction direction, BreakpointPhase phase, byte[] capturedBytes, String requestMethod, String requestPath, Long requestTimestamp, Configuration configuration, MockServerLogger logger, WebSocketClientRegistry webSocketClientRegistry) Overload ofStreamFrameCallbackDispatcher.tryWsDispatch(org.mockserver.mock.breakpoint.BreakpointMatcher, java.lang.String, int, org.mockserver.mock.breakpoint.PausedStreamFrame.Direction, org.mockserver.mock.breakpoint.BreakpointPhase, byte[], java.lang.String, java.lang.String, org.mockserver.configuration.Configuration, org.mockserver.logging.MockServerLogger, org.mockserver.closurecallback.websocketregistry.WebSocketClientRegistry)that includes the request timestamp.StreamFrameCallbackDispatcher.tryWsDispatch(BreakpointMatcher matchedBreakpoint, String streamId, int sequenceNumber, PausedStreamFrame.Direction direction, BreakpointPhase phase, byte[] capturedBytes, String requestMethod, String requestPath, Configuration configuration, MockServerLogger logger, WebSocketClientRegistry webSocketClientRegistry) Convenience method that checks whether the given matched breakpoint should use WS-callback dispatch (non-null clientId + registry available), and if so, dispatches the frame.Constructors in org.mockserver.mock.breakpoint with parameters of type PausedStreamFrame.DirectionModifierConstructorDescriptionPausedStreamFrame(String frameId, String streamId, int sequenceNumber, byte[] capturedBytes, String requestMethod, String requestPath, PausedStreamFrame.Direction direction) Creates a paused frame with an explicit direction.PausedStreamFrame(String frameId, String streamId, int sequenceNumber, byte[] capturedBytes, String requestMethod, String requestPath, PausedStreamFrame.Direction direction, Long requestTimestamp) Creates a paused frame with an explicit direction and request timestamp.