Package org.glassfish.grizzly.http2
Class Http2FrameCodec
java.lang.Object
org.glassfish.grizzly.http2.Http2FrameCodec
- Author:
- Grizzly team
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(Http2Session http2Session, Http2FrameCodec.FrameParsingState parsingState, Buffer srcMessage) serializeAndRecycle(Http2Session http2Session, List<Http2Frame> frames) serializeAndRecycle(Http2Session http2Session, Http2Frame frame)
-
Constructor Details
-
Http2FrameCodec
public Http2FrameCodec()
-
-
Method Details
-
parse
public List<Http2Frame> parse(Http2Session http2Session, Http2FrameCodec.FrameParsingState parsingState, Buffer srcMessage) throws Http2SessionException - Parameters:
http2Session- theHttp2Sessionfrom which the source buffer was obtained.parsingState- the currentHttp2FrameCodec.FrameParsingState.srcMessage- the inbound buffer.- Returns:
- one or more
Http2Frames parsed from the source message. - Throws:
Http2SessionException- if an error occurs parsing the frame(s).
-
serializeAndRecycle
-
serializeAndRecycle
-