Class Spdy3

  • All Implemented Interfaces:
    Variant

    public final class Spdy3
    extends Object
    implements Variant
    Read and write spdy/3.1 frames. http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3-1
    • Constructor Detail

      • Spdy3

        public Spdy3()
    • Method Detail

      • getProtocol

        public Protocol getProtocol()
        Description copied from interface: Variant
        The protocol as selected using ALPN.
        Specified by:
        getProtocol in interface Variant
      • newReader

        public FrameReader newReader​(BufferedSource source,
                                     boolean client)
        Specified by:
        newReader in interface Variant
        client - true if this is the HTTP client's reader, reading frames from a server.
      • newWriter

        public FrameWriter newWriter​(BufferedSink sink,
                                     boolean client)
        Specified by:
        newWriter in interface Variant
        client - true if this is the HTTP client's writer, writing frames to a server.