|
|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2022 the original author or authors. |
|
|
|
* Copyright 2002-2023 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -145,8 +145,8 @@ public final class CloseStatus implements Serializable { |
|
|
|
* client that may be done during normal shutdown. |
|
|
|
* client that may be done during normal shutdown. |
|
|
|
* @since 4.0.3 |
|
|
|
* @since 4.0.3 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public static final CloseStatus SESSION_NOT_RELIABLE = new CloseStatus(4500) |
|
|
|
public static final CloseStatus SESSION_NOT_RELIABLE = |
|
|
|
.withReason("Failed to send message within the configured send limit"); |
|
|
|
new CloseStatus(4500).withReason("Failed to send message within the configured send limit"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private final int code; |
|
|
|
private final int code; |
|
|
|
|