Class Generator
- java.lang.Object
-
- org.eclipse.jetty.http2.generator.Generator
-
public class Generator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Generator(ByteBufferPool byteBufferPool)
Generator(ByteBufferPool byteBufferPool, int maxHeaderBlockFragment)
Generator(ByteBufferPool byteBufferPool, int maxDynamicTableSize, int maxHeaderBlockFragment)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
control(ByteBufferPool.Lease lease, Frame frame)
int
data(ByteBufferPool.Lease lease, DataFrame frame, int maxLength)
ByteBufferPool
getByteBufferPool()
HpackEncoder
getHpackEncoder()
void
setHeaderTableSize(int maxTableSize)
Deprecated.void
setMaxFrameSize(int maxFrameSize)
void
setMaxHeaderListSize(int value)
Deprecated.void
setValidateHpackEncoding(boolean validateEncoding)
Deprecated.
-
-
-
Constructor Detail
-
Generator
public Generator(ByteBufferPool byteBufferPool)
-
Generator
@Deprecated public Generator(ByteBufferPool byteBufferPool, int maxDynamicTableSize, int maxHeaderBlockFragment)
Deprecated.
-
Generator
public Generator(ByteBufferPool byteBufferPool, int maxHeaderBlockFragment)
-
-
Method Detail
-
getByteBufferPool
public ByteBufferPool getByteBufferPool()
-
getHpackEncoder
public HpackEncoder getHpackEncoder()
-
setValidateHpackEncoding
@Deprecated public void setValidateHpackEncoding(boolean validateEncoding)
Deprecated.
-
setHeaderTableSize
@Deprecated public void setHeaderTableSize(int maxTableSize)
Deprecated.
-
setMaxFrameSize
public void setMaxFrameSize(int maxFrameSize)
-
control
public int control(ByteBufferPool.Lease lease, Frame frame) throws HpackException
- Throws:
HpackException
-
data
public int data(ByteBufferPool.Lease lease, DataFrame frame, int maxLength)
-
setMaxHeaderListSize
@Deprecated public void setMaxHeaderListSize(int value)
Deprecated.
-
-