|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Deprecated. As of release 12.1.3, replaced by JSR356: Java API for WebSocket
@Deprecated
public interface ClosingMessage
This class represents closing data control frame.
Field Summary | |
---|---|
static int |
NO_STATUS_CODE Deprecated. Do not send the status code with the closing handshake. |
static int |
SC_GOING_AWAY Deprecated. Indicates that an endpoint is "going away", such as a server is going down or a browser has navigated away from a page. |
static int |
SC_INTERNAL_SERVER_ERROR Deprecated. Indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fullfilling the request. |
static int |
SC_INVALID_FRAME_PAYLOAD_DATA Deprecated. Indicates that an endpoint is terminating the connection because it has received data within a message that is not consistent with the type of message. |
static int |
SC_MESSAGE_TOO_BIG Deprecated. Indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process. |
static int |
SC_NORMAL_CLOSURE Deprecated. Indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled. |
static int |
SC_POLICY_VOILATION Deprecated. Indicates that an endpoint is terminating the connection because it has received a message that violates its policy. |
static int |
SC_PROTOCOL_ERROR Deprecated. Indicates that an endpoint is terminating the connection due to a protocol error. |
static int |
SC_UNSUPPORTED_DATA Deprecated. Indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (for example, an endpoint that understands only text data may send this if it receives a binary message). |
Method Summary | |
---|---|
abstract String |
getReason() Deprecated. Get reason of the closing handshake. |
abstract int |
getStatusCode() Deprecated. Get status code of the closing handshake. |
Field Detail |
---|
static final int NO_STATUS_CODE
static final int SC_NORMAL_CLOSURE
static final int SC_GOING_AWAY
static final int SC_PROTOCOL_ERROR
static final int SC_UNSUPPORTED_DATA
static final int SC_INVALID_FRAME_PAYLOAD_DATA
static final int SC_POLICY_VOILATION
ClosingMessage.SC_UNSUPPORTED_DATA
or 1009) or if there is a need to hide specific details about the policy.
static final int SC_MESSAGE_TOO_BIG
static final int SC_INTERNAL_SERVER_ERROR
Method Detail |
---|
int getStatusCode()
ClosingMessage.NO_STATUS_CODE
will be returned if there is no status code sent with the closing message.String getReason()
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |