Class DeflateFrameExtension

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
All Implemented Interfaces:
org.eclipse.jetty.util.component.LifeCycle, Extension, IncomingFrames, OutgoingFrames
Direct Known Subclasses:
XWebkitDeflateFrameExtension

public class DeflateFrameExtension extends CompressExtension
Implementation of the deflate-frame extension seen out in the wild.
  • Constructor Details

    • DeflateFrameExtension

      public DeflateFrameExtension()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Extension
      The Sec-WebSocket-Extensions name for this extension.

      Also known as the extension-token per Section 9.1. Negotiating Extensions.

      Specified by:
      getName in interface Extension
      Overrides:
      getName in class AbstractExtension
      Returns:
      the name of the extension
    • incomingFrame

      public void incomingFrame(Frame frame)
      Description copied from interface: IncomingFrames
      Process the incoming frame.

      Note: if you need to hang onto any information from the frame, be sure to copy it, as the information contained in the Frame will be released and/or reused by the implementation.

      Parameters:
      frame - the frame to process