Package | Description |
---|---|
org.glassfish.grizzly.http2 | |
org.glassfish.grizzly.http2.frames |
Modifier and Type | Method and Description |
---|---|
ErrorCode |
Http2StreamException.getErrorCode() |
ErrorCode |
Http2ConnectionException.getErrorCode() |
Modifier and Type | Method and Description |
---|---|
void |
Http2Connection.goAway(ErrorCode errorCode)
If the session is still open - closes it and sends GOAWAY frame to a peer,
otherwise if the session was already closed - does nothing.
|
protected void |
Http2Connection.sendRstFrame(ErrorCode errorCode,
int streamId) |
Constructor and Description |
---|
Http2ConnectionException(ErrorCode errorCode)
Construct Http2ConnectionException.
|
Http2ConnectionException(ErrorCode errorCode,
String message)
Construct Http2ConnectionException.
|
Http2StreamException(int streamId,
ErrorCode errorCode) |
Http2StreamException(int streamId,
ErrorCode errorCode,
String description) |
Http2StreamException(int streamId,
ErrorCode errorCode,
String description,
Throwable cause) |
Http2StreamException(int streamId,
ErrorCode errorCode,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
ErrorCode |
GoAwayFrame.getErrorCode() |
ErrorCode |
RstStreamFrame.getErrorCode() |
static ErrorCode |
ErrorCode.lookup(int code) |
static ErrorCode |
ErrorCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
ErrorCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
GoAwayFrame.GoAwayFrameBuilder |
GoAwayFrame.GoAwayFrameBuilder.errorCode(ErrorCode errorCode) |
RstStreamFrame.RstStreamFrameBuilder |
RstStreamFrame.RstStreamFrameBuilder.errorCode(ErrorCode errorCode) |
Copyright © 2023 Oracle Corporation. All rights reserved.