Top Fields Constructors Methods
org.eclipse.jetty.http2.generator

public Class Generator

extends Object
Class Inheritance
Imports
org.eclipse.jetty.http2.frames.DataFrame, .Frame, .FrameType, org.eclipse.jetty.http2.hpack.HpackEncoder, .HpackException, org.eclipse.jetty.io.ByteBufferPool

Field Summary

Modifier and TypeField and Description
private final ByteBufferPool
private final DataGenerator
private final FrameGenerator[]
private final HeaderGenerator
private final HpackEncoder

Constructor Summary

AccessConstructor and Description
public
public
Generator(ByteBufferPool bufferPool, int maxHeaderBlockFragment)

public
Generator(ByteBufferPool bufferPool, boolean useDirectByteBuffers, int maxHeaderBlockFragment)

Method Summary

Modifier and TypeMethod and Description
public int
public int
data(ByteBufferPool.Accumulator accumulator, DataFrame frame, int maxLength)

public ByteBufferPool
public HpackEncoder
public void
setMaxFrameSize(int maxFrameSize)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bufferPoolback to summary
private final ByteBufferPool bufferPool
dataGeneratorback to summary
private final DataGenerator dataGenerator
generatorsback to summary
private final FrameGenerator[] generators
headerGeneratorback to summary
private final HeaderGenerator headerGenerator
hpackEncoderback to summary
private final HpackEncoder hpackEncoder

Constructor Detail

Generatorback to summary
public Generator(ByteBufferPool bufferPool)
Generatorback to summary
public Generator(ByteBufferPool bufferPool, int maxHeaderBlockFragment)
Generatorback to summary
public Generator(ByteBufferPool bufferPool, boolean useDirectByteBuffers, int maxHeaderBlockFragment)

Method Detail

controlback to summary
public int control(ByteBufferPool.Accumulator accumulator, Frame frame) throws HpackException
databack to summary
public int data(ByteBufferPool.Accumulator accumulator, DataFrame frame, int maxLength)
getByteBufferPoolback to summary
public ByteBufferPool getByteBufferPool()
getHpackEncoderback to summary
public HpackEncoder getHpackEncoder()
setMaxFrameSizeback to summary
public void setMaxFrameSize(int maxFrameSize)