SAP ABAP Class CL_WEBSOCKET_UTILITY (Web Socket Utility class)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CST-IC (Application Component) Internet Communication Manager
⤷
SICM (Package) Internet Communication Manager

⤷

⤷

Properties
Class | CL_WEBSOCKET_UTILITY | |
Short Description | Web Socket Utility class | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | S | System Program |
Category | 0 | |
Package | SICM | Internet Communication Manager |
Created | 20120816 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_WEBSOCKET_UTILITY has no interface implemented.
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_APC_MANAGER | 20130207 | ABAP Push Channel (APC) WebSocket (WS) framework manager | |
2 | CL_APC_WS_CLIENT | 20130214 | APC framework: APC WebSocket client class |
Attributes
Class CL_WEBSOCKET_UTILITY has no attribute.
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Private | Method | Check Web Socket Handshake HTTP Response | 20130207 |
2 | ![]() |
Static method | Public | Method | Creates client-side web socket handshake HTTP request | 20130207 |
3 | ![]() |
Static method | Private | Method | Deny WebSocket Upgrade request | 20120816 |
4 | ![]() |
Static method | Private | Method | Set HTTP response for Web Socket Upgrade request | 20120816 |
5 | ![]() |
Static method | Private | Method | Check if connection was upgraded to Web Socket | 20120816 |
6 | ![]() |
Static method | Private | Method | Check for Web Socket Upgrade | 20120816 |
Events
Class CL_WEBSOCKET_UTILITY has no event.
Types
Class CL_WEBSOCKET_UTILITY has no local type.
Method Signatures
Method CLIENT_CHECK_WS_RESPONSE Signature
Method CLIENT_CHECK_WS_RESPONSE on class CL_WEBSOCKET_UTILITY has no parameter.
Method CLIENT_CHECK_WS_RESPONSE on class CL_WEBSOCKET_UTILITY has no exception.
Method CLIENT_GEN_WS_REQUEST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
HTTP_REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_REQUEST | HTTP Framework (iHTTP) HTTP Request | 20130207 | ||
2 | ![]() |
PROTOCOL | Call by reference | Type reference (TYPE) | STRING | Spezifikation des Subprotokolls | 20130207 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Interner Fehler aufgetreten | 20130207 |
Method GEN_NEGATIVE_WS_RESPONSE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
HTTP_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20120816 | ||
2 | ![]() |
REASON | Call by reference | Type reference (TYPE) | STRING | Reason for negative upgrade response | 20120816 |
Method GEN_NEGATIVE_WS_RESPONSE on class CL_WEBSOCKET_UTILITY has no exception.
Method GEN_POSITIVE_WS_RESPONSE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
HTTP_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20120816 | ||
2 | ![]() |
WEBSOCKET_PROTOCOL | Call by reference | Type reference (TYPE) | STRING | Switch to this protocol | 20120816 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Illegal Parameter specified | 20120816 | |
2 | ![]() |
wrong server object specified | 20120816 | |
3 | ![]() |
internal error occurred | 20120816 | |
4 | ![]() |
requested WebSocket version not supported | 20120816 |
Method IS_WEBSOCKET_CONN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
HTTP_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20120816 | ||
2 | ![]() |
IS_WEBSOCKET_CONN | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120816 |
Method IS_WEBSOCKET_CONN on class CL_WEBSOCKET_UTILITY has no exception.
Method IS_WEBSOCKET_UPGRADE_REQUESTED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
HTTP_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20120816 | ||
2 | ![]() |
IS_REQUESTED | Value transfer | Type reference (TYPE) | ABAP_BOOL | Boolean return value | 20120816 |
Method IS_WEBSOCKET_UPGRADE_REQUESTED on class CL_WEBSOCKET_UTILITY has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |