Class ConnectionCloseFrame
java.lang.Object
org.eclipse.jetty.quic.api.frames.Frame
org.eclipse.jetty.quic.api.frames.ConnectionCloseFrame
- 
Nested Class Summary
Nested classes/interfaces inherited from class Frame
Frame.WithStreamId - 
Field Summary
Fields inherited from class Frame
DEFAULT_MAX_SIZE - 
Constructor Summary
ConstructorsConstructorDescriptionConnectionCloseFrame(long appErrorCode, String reason) Creates a connection close frame with the given application error code and reason.ConnectionCloseFrame(long quicErrorCode, String reason, long causeFrameType) Creates a connection close frame with the given QUIC error code, reason, and frame type. - 
Method Summary
Methods inherited from class Frame
getFrameType 
- 
Constructor Details
- 
ConnectionCloseFrame
Creates a connection close frame with the given application error code and reason.
Applications should use this constructor in conjunction with
Session.close(ConnectionCloseFrame, org.eclipse.jetty.util.Promise.Invocable).- Parameters:
 appErrorCode- the application error codereason- the application error reason
 - 
ConnectionCloseFrame
Creates a connection close frame with the given QUIC error code, reason, and frame type.
Applications should not use this constructor.
- Parameters:
 quicErrorCode- the QUIC error codereason- the QUIC error reasoncauseFrameType- the frame type that caused the error
 
 - 
 - 
Method Details
- 
getErrorCode
public long getErrorCode() - 
getReason
 - 
getCauseFrameType
public long getCauseFrameType() - 
toString
 
 -