Package org.glassfish.grizzly.http2
Class HeaderDecodingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.glassfish.grizzly.http2.HeaderDecodingException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHeaderDecodingException(ErrorCode errorCode, org.glassfish.grizzly.http2.HeaderDecodingException.ErrorType errorType) Construct HeaderDecodingException.HeaderDecodingException(ErrorCode errorCode, org.glassfish.grizzly.http2.HeaderDecodingException.ErrorType errorType, String message) Construct HeaderDecodingException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
HeaderDecodingException
public HeaderDecodingException(ErrorCode errorCode, org.glassfish.grizzly.http2.HeaderDecodingException.ErrorType errorType) Construct HeaderDecodingException.- Parameters:
errorCode- theErrorCodefor thisHeaderDecodingException
-
HeaderDecodingException
public HeaderDecodingException(ErrorCode errorCode, org.glassfish.grizzly.http2.HeaderDecodingException.ErrorType errorType, String message) Construct HeaderDecodingException.- Parameters:
errorCode- theErrorCodefor thisHeaderDecodingExceptionmessage- the detail message for thisHeaderDecodingException
-
-
Method Details
-
getErrorCode
- Returns:
- the
ErrorCodereason to be sent with a GOAWAY or RST frame.
-
getErrorType
- Returns:
- the
HeaderDecodingException.ErrorTypeto control the type of frame to be sent to the peer.
-
toString
-