Class SpdyFramingFilter

java.lang.Object
org.glassfish.grizzly.filterchain.BaseFilter
org.glassfish.grizzly.spdy.SpdyFramingFilter
All Implemented Interfaces:
org.glassfish.grizzly.filterchain.Filter

public class SpdyFramingFilter extends org.glassfish.grizzly.filterchain.BaseFilter
The Filter responsible for transforming SPDY SpdyFrames to Buffers and vise versa.
Author:
Grizzly team
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the maximum allowed SPDY frame length.
    org.glassfish.grizzly.filterchain.NextAction
    handleRead(org.glassfish.grizzly.filterchain.FilterChainContext ctx)
     
    org.glassfish.grizzly.filterchain.NextAction
    handleWrite(org.glassfish.grizzly.filterchain.FilterChainContext ctx)
     
    void
    setMaxFrameLength(int maxFrameLength)
    Sets the maximum allowed SPDY frame length.

    Methods inherited from class org.glassfish.grizzly.filterchain.BaseFilter

    createContext, exceptionOccurred, handleAccept, handleClose, handleConnect, handleEvent, onAdded, onFilterChainChanged, onRemoved, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SpdyFramingFilter

      public SpdyFramingFilter()
  • Method Details

    • getMaxFrameLength

      public int getMaxFrameLength()
      Returns the maximum allowed SPDY frame length.
    • setMaxFrameLength

      public void setMaxFrameLength(int maxFrameLength)
      Sets the maximum allowed SPDY frame length.
    • handleRead

      public org.glassfish.grizzly.filterchain.NextAction handleRead(org.glassfish.grizzly.filterchain.FilterChainContext ctx) throws IOException
      Specified by:
      handleRead in interface org.glassfish.grizzly.filterchain.Filter
      Overrides:
      handleRead in class org.glassfish.grizzly.filterchain.BaseFilter
      Throws:
      IOException
    • handleWrite

      public org.glassfish.grizzly.filterchain.NextAction handleWrite(org.glassfish.grizzly.filterchain.FilterChainContext ctx) throws IOException
      Specified by:
      handleWrite in interface org.glassfish.grizzly.filterchain.Filter
      Overrides:
      handleWrite in class org.glassfish.grizzly.filterchain.BaseFilter
      Throws:
      IOException