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

public Class HeaderGenerator

extends Object
Class Inheritance
Imports
java.nio.ByteBuffer, org.eclipse.jetty.http2.frames.Frame, .FrameType, org.eclipse.jetty.io.ByteBufferPool, .RetainableByteBuffer, org.eclipse.jetty.util.BufferUtil

Field Summary

Modifier and TypeField and Description
private final ByteBufferPool
private int
private final boolean

Constructor Summary

AccessConstructor and Description
public
public
HeaderGenerator(ByteBufferPool bufferPool, boolean useDirectByteBuffers)

Method Summary

Modifier and TypeMethod and Description
public RetainableByteBuffer
generate(FrameType frameType, int capacity, int length, int flags, int streamId)

public ByteBufferPool
public int
public boolean
public void
setMaxFrameSize(int maxFrameSize)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bufferPoolback to summary
private final ByteBufferPool bufferPool
maxFrameSizeback to summary
private int maxFrameSize
useDirectByteBuffersback to summary
private final boolean useDirectByteBuffers

Constructor Detail

HeaderGeneratorback to summary
public HeaderGenerator(ByteBufferPool bufferPool)
HeaderGeneratorback to summary
public HeaderGenerator(ByteBufferPool bufferPool, boolean useDirectByteBuffers)

Method Detail

generateback to summary
public RetainableByteBuffer generate(FrameType frameType, int capacity, int length, int flags, int streamId)
getByteBufferPoolback to summary
public ByteBufferPool getByteBufferPool()
getMaxFrameSizeback to summary
public int getMaxFrameSize()
isUseDirectByteBuffersback to summary
public boolean isUseDirectByteBuffers()
setMaxFrameSizeback to summary
public void setMaxFrameSize(int maxFrameSize)