Class FrameValidation
java.lang.Object
org.eclipse.jetty.websocket.core.util.FrameValidation
Some static utility methods for validating a
Frame
based on the state of its CoreSession
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
assertValidFrame
(Frame frame, CoreSession coreSession) static void
assertValidIncoming
(Frame frame, CoreSession coreSession) static void
assertValidOutgoing
(Frame frame, CoreSession coreSession)
-
Constructor Details
-
FrameValidation
public FrameValidation()
-
-
Method Details
-
assertValidIncoming
-
assertValidOutgoing
- Throws:
CloseException
-
assertValidFrame
-