Package io.undertow.protocols.http2
Class Http2GoAwayParser
- java.lang.Object
-
- io.undertow.protocols.http2.Http2PushBackParser
-
- io.undertow.protocols.http2.Http2GoAwayParser
-
public class Http2GoAwayParser extends Http2PushBackParser
Parser for HTTP2 GO_AWAY frames- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description Http2GoAwayParser(int frameLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLastGoodStreamId()
int
getStatusCode()
protected void
handleData(java.nio.ByteBuffer resource, io.undertow.protocols.http2.Http2FrameHeaderParser headerParser)
-
Methods inherited from class io.undertow.protocols.http2.Http2PushBackParser
finish, getFrameLength, isFinished, moreData, parse
-
-
-
-
Method Detail
-
handleData
protected void handleData(java.nio.ByteBuffer resource, io.undertow.protocols.http2.Http2FrameHeaderParser headerParser)
- Specified by:
handleData
in classHttp2PushBackParser
-
getStatusCode
public int getStatusCode()
-
getLastGoodStreamId
public int getLastGoodStreamId()
-
-