All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.webpieces.hpack.api.UnmarshalState Maven / Gradle / Ivy

Go to download

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy