com.webpieces.hpack.api.UnmarshalState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http2-hpack Show documentation
Show all versions of http2-hpack Show documentation
A re-usable asynchronous HTTP/2 parser WITH header serialization/deserialization (hpack)
The newest version!
package com.webpieces.hpack.api;
import java.util.List;
import org.webpieces.util.futures.XFuture;
import com.webpieces.http2.api.dto.lowlevel.lib.Http2Msg;
public interface UnmarshalState {
/**
* In the case where you pass in bytes of 2 or more messages, we
* give you back all the parsed messages so far
* @return
*/
List getParsedFrames();
int getLeftOverDataSize();
int getNumBytesJustParsed();
void setDecoderMaxTableSize(int newSize);
void setIncomingMaxFrameSize(long maxFrameSize);
XFuture getProcessFuture();
void setProcessFuturee(XFuture future);
}