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

public Class HeaderBlockFragments

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

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
HeaderBlockFragments(ByteBufferPool bufferPool, int maxCapacity)

Method Summary

Modifier and TypeMethod and Description
public RetainableByteBuffer
public PriorityFrame
public int
public boolean
pack-priv void
public void
setEndStream(boolean endStream)

public void
public void
setStreamId(int streamId)

public boolean
storeFragment(ByteBuffer fragment, int length, boolean last)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bufferPoolback to summary
private final ByteBufferPool bufferPool
endStreamback to summary
private boolean endStream
maxCapacityback to summary
private final int maxCapacity
priorityFrameback to summary
private PriorityFrame priorityFrame
storageback to summary
private RetainableByteBuffer storage
streamIdback to summary
private int streamId

Constructor Detail

HeaderBlockFragmentsback to summary
public HeaderBlockFragments(ByteBufferPool bufferPool, int maxCapacity)

Method Detail

completeback to summary
public RetainableByteBuffer complete()
getPriorityFrameback to summary
public PriorityFrame getPriorityFrame()
getStreamIdback to summary
public int getStreamId()
isEndStreamback to summary
public boolean isEndStream()
resetback to summary
pack-priv void reset()
setEndStreamback to summary
public void setEndStream(boolean endStream)
setPriorityFrameback to summary
public void setPriorityFrame(PriorityFrame priorityFrame)
setStreamIdback to summary
public void setStreamId(int streamId)
storeFragmentback to summary
public boolean storeFragment(ByteBuffer fragment, int length, boolean last)