Package org.java_websocket.extensions
Class CompressionExtension
- java.lang.Object
- 
- org.java_websocket.extensions.DefaultExtension
- 
- org.java_websocket.extensions.CompressionExtension
 
 
- 
- All Implemented Interfaces:
- IExtension
 
 public abstract class CompressionExtension extends DefaultExtension Implementation for a compression extension specified by https://tools.ietf.org/html/rfc7692- Since:
- 1.3.5
 
- 
- 
Constructor SummaryConstructors Constructor Description CompressionExtension()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidisFrameValid(Framedata inputFrame)Check if the received frame is correctly implemented by the other endpoint and there are no specification errors (like wrongly set RSV)- 
Methods inherited from class org.java_websocket.extensions.DefaultExtensionacceptProvidedExtensionAsClient, acceptProvidedExtensionAsServer, copyInstance, decodeFrame, encodeFrame, equals, getProvidedExtensionAsClient, getProvidedExtensionAsServer, hashCode, reset, toString
 
- 
 
- 
- 
- 
Method Detail- 
isFrameValidpublic void isFrameValid(Framedata inputFrame) throws InvalidDataException Description copied from interface:IExtensionCheck if the received frame is correctly implemented by the other endpoint and there are no specification errors (like wrongly set RSV)- Specified by:
- isFrameValidin interface- IExtension
- Overrides:
- isFrameValidin class- DefaultExtension
- Parameters:
- inputFrame- the received frame
- Throws:
- InvalidDataException- Throw InvalidDataException if the received frame is not correctly implementing the specification for the specific extension
 
 
- 
 
-