SAP ABAP Class CL_APC_MANAGER (ABAP Push Channel (APC) WebSocket (WS) framework manager)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-MID-AC (Application Component) ABAP Channels
⤷
SAPC_RUNTIME (Package) APC runtime package

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_HTTP_EXTENSION | HTTP Framework (iHTTP) HTTP Request Handler | 20120831 |
Properties
Class | CL_APC_MANAGER | |
Short Description | ABAP Push Channel (APC) WebSocket (WS) framework manager | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | S | System Program |
Category | 0 | |
Package | SAPC_RUNTIME | APC runtime package |
Created | 20120831 | 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
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_HTTP_EXTENSION | HTTP Framework (iHTTP) HTTP Request Handler | 20120831 |
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_APC_KRN_SERVICES | 20130125 | ABAP Push Channel (APC) kernel methods |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | Type reference (TYPE) | APC_SSTRING | ':APID=' | ABAP Push Channel Short String | 20121129 | |
2 | ![]() |
Constant | Private | Type reference (TYPE) | APC_SSTRING | ':CAIP=' | ABAP Push Channel Short String | 20121129 | |
3 | ![]() |
Constant | Private | Type reference (TYPE) | APC_SSTRING | ':CONN=' | ABAP Push Channel Short String | 20121129 | |
4 | ![]() |
Constant | Private | Type reference (TYPE) | APC_SSTRING | ':PATH=' | ABAP Push Channel Short String | 20121129 | |
5 | ![]() |
Constant | Private | Type reference (TYPE) | APC_SSTRING | ':VHNR=' | ABAP Push Channel Short String | 20130625 | |
6 | ![]() |
Constant | Protected | Type reference (TYPE) | I | 2 | 20121130 | ||
7 | ![]() |
Constant | Protected | Type reference (TYPE) | I | 1 | 20121129 | ||
8 | ![]() |
Constant | Protected | Type reference (TYPE) | I | 8 | see ICT_WS_OPCODE_CONN_CLOSE | 20121218 | |
9 | ![]() |
Constant | Protected | Type reference (TYPE) | I | 838 | see ICT_WS_OPCODE_CONN_CLOSE+ICT_EWCONNCLOSED | 20130125 | |
10 | ![]() |
Constant | Protected | Type reference (TYPE) | I | 2 | see ICT_WS_OPCODE_BINARY | 20121218 | |
11 | ![]() |
Constant | Protected | Type reference (TYPE) | I | 1 | see ICT_WS_OPCODE_TEXT | 20121218 | |
12 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | APC_APPL_V | Generated Table for View | 20121206 | ||
13 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | APC_APPLICATION_ID | 20121129 | |||
14 | ![]() |
Static Attribute | Private | Type reference (TYPE) | APC_APPL_PATH | ABAP Push Channel application path | 20121127 | ||
15 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | 20130109 | |||
16 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | STRING | 20130108 | |||
17 | ![]() |
Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | Process ON_START() method with initial request | 20121015 | ||
18 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | IF_HTTP_REQUEST | HTTP Framework (iHTTP) HTTP Request | 20130108 | ||
19 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | 20130215 | |||
20 | ![]() |
Static Attribute | Public | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20121015 | ||
21 | ![]() |
Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20121217 | |||
22 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Is application stateful ? | 20121210 | |
23 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | 20130611 | |||
24 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | IF_ATRA_TRACE_INTERNAL | 20121211 | |||
25 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | 20121211 | |||
26 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | I | 20121211 | |||
27 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | I | 20121211 | |||
28 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | I | 20121211 | |||
29 | ![]() |
Instance attribute | Protected | Object reference (TYPE REF TO) | IF_APC_WS_INITIAL_REQUEST | APC framework: Initial request at setup (do not implement) | 20121210 | ||
30 | ![]() |
Instance attribute | Protected | Object reference (TYPE REF TO) | IF_APC_WS_EXTENSION_STATELESS | APC framework: Stateless message handler (see documentation) | 20121210 | ||
31 | ![]() |
Instance attribute | Protected | Object reference (TYPE REF TO) | IF_APC_WS_CONTEXT | APC framework: Context interface (do not implement) | 20121210 | ||
32 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | C | 20121211 | |||
33 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | Present event type, e.g. binary message, text message, close | 20130108 | ||
34 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | I | 20121211 | |||
35 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | IF_ABAP_RUNTIME | Kernel Static timer Interface | 20130618 | ||
36 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | C | 20121211 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Method | Validate the origin header (same/cross origin policy) | 20130408 |
2 | ![]() |
Instance method | Private | Method | Validate the XSRF token | 20121218 |
3 | ![]() |
Instance method | Public | Constructor | CONSTRUCTOR | 20130618 |
4 | ![]() |
Instance method | Private | Method | Identify the APC application for the processing | 20121127 |
5 | ![]() |
Instance method | Private | Method | Dispatch APC message to application | 20121015 |
6 | ![]() |
Instance method | Private | Method | Execute the WebSocket message | 20121218 |
7 | ![]() |
Instance method | Private | Method | Execute the WebSocket message | 20121218 |
8 | ![]() |
Instance method | Private | Method | Release and clenup the APC session | 20121122 |
9 | ![]() |
Instance method | Private | Method | Restore application data for execution of WebSocket messages | 20121218 |
10 | ![]() |
Static method | Public | Method | 20121218 | |
11 | ![]() |
Instance method | Private | Method | Compose or split APC runtime info in/out of string | 20121129 |
12 | ![]() |
Instance method | Private | Method | Preserve application data for subsequent WebSocket messages | 20121218 |
13 | ![]() |
Instance method | Private | Method | Install error page | 20121217 |
14 | ![]() |
Instance method | Private | Method | Set taskhandler application info | 20121210 |
15 | ![]() |
Instance method | Private | Method | Called for request handling for each incoming HTTP request | 20121218 |
16 | ![]() |
Instance method | Private | Method | Start ABAP runtime analysis | 20121211 |
17 | ![]() |
Instance method | Private | Method | Start external debugger | 20121211 |
18 | ![]() |
Instance method | Private | Method | Start functional trace | 20121211 |
19 | ![]() |
Instance method | Private | Method | Stop ABAP runtime analysis | 20121211 |
20 | ![]() |
Instance method | Private | Method | Establish WebSocket connection | 20120917 |
21 | ![]() |
Instance method | Private | Method | Send OK | 20120917 |
Events
Class CL_APC_MANAGER has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | GTYPE_APPLICATION_INFO | Protected | See coding | 20121129 | BEGIN OF gtype_application_info,
request TYPE xstring,
appl_config TYPE apc_appl_v,
path TYPE string,
set_error_page type abap_bool,
END OF gtype_application_info
|
Method Signatures
Method CHECK_ORIGIN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20130408 | ||
2 | ![]() |
R_SUCCESSFUL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130408 |
Method CHECK_ORIGIN on class CL_APC_MANAGER has no exception.
Method CHECK_XSRF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20121218 | ||
2 | ![]() |
R_SUCCESSFUL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20121218 |
Method CHECK_XSRF on class CL_APC_MANAGER has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_APC_MANAGER has no parameter.
Method CONSTRUCTOR on class CL_APC_MANAGER has no exception.
Method DETERMINE_APPLICATION_CONTEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_REQUEST | HTTP Framework (iHTTP) HTTP Request | 20121127 |
Method DETERMINE_APPLICATION_CONTEXT on class CL_APC_MANAGER has no exception.
Method DISPATCH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_BINARY_MESSAGE | Call by reference | Type reference (TYPE) | XSTRING | 20121204 | |||
2 | ![]() |
I_CLOSE_CODE | Call by reference | Type reference (TYPE) | I | 20130719 | |||
3 | ![]() |
I_CLOSE_REASON | Call by reference | Type reference (TYPE) | STRING | 20130712 | |||
4 | ![]() |
I_EVENT_TYPE | Call by reference | Type reference (TYPE) | I | 20121204 | |||
5 | ![]() |
I_REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_REQUEST | HTTP Framework (iHTTP) HTTP Request | 20121116 | ||
6 | ![]() |
I_TEXT_MESSAGE | Call by reference | Type reference (TYPE) | STRING | 20121204 |
Method DISPATCH on class CL_APC_MANAGER has no exception.
Method EXECUTE_EVENT Signature
Method EXECUTE_EVENT on class CL_APC_MANAGER has no parameter.
Method EXECUTE_EVENT on class CL_APC_MANAGER has no exception.
Method EXECUTE_START Signature
Method EXECUTE_START on class CL_APC_MANAGER has no parameter.
Method EXECUTE_START on class CL_APC_MANAGER has no exception.
Method FINALIZE Signature
Method FINALIZE on class CL_APC_MANAGER has no parameter.
Method FINALIZE on class CL_APC_MANAGER has no exception.
Method GET_APPLICATION_CONTEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
R_SUCCESSFUL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20121218 |
Method GET_APPLICATION_CONTEXT on class CL_APC_MANAGER has no exception.
Method LAUNCH Signature
Method LAUNCH on class CL_APC_MANAGER has no parameter.
Method LAUNCH on class CL_APC_MANAGER has no exception.
Method PREPARE_APC_APPLICATION_INFO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_APC_INFO | Call by reference | Type reference (TYPE) | STRING | 20121129 | |||
2 | ![]() |
C_APPLICATION_ID | Call by reference | Type reference (TYPE) | APC_APPLICATION_ID | ABAP Push Channel Application ID | 20121129 | ||
3 | ![]() |
C_APPLICATION_PATH | Call by reference | Type reference (TYPE) | APC_APPL_PATH | ABAP Push Channel application path | 20121129 | ||
4 | ![]() |
C_CALLER_IP | Call by reference | Type reference (TYPE) | STRING | ABAP Push Channel caller IP | 20121129 | ||
5 | ![]() |
C_CONNECTION_PARAM | Call by reference | Type reference (TYPE) | STRING | ABAP Push Channel connection parameter | 20121129 | ||
6 | ![]() |
C_VIRTUAL_HOST_NUMBER | Call by reference | Type reference (TYPE) | STRING | 20130625 | |||
7 | ![]() |
I_ACTION | Call by reference | Type reference (TYPE) | I | CO_APC_RINFO_SERIALIZE/CO_APC_RINFO_DESERIALIZE | 20121129 |
Method PREPARE_APC_APPLICATION_INFO on class CL_APC_MANAGER has no exception.
Method SET_APPLICATION_CONTEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_REQUEST | HTTP Framework (iHTTP) HTTP Request | 20121218 | ||
2 | ![]() |
R_SUCCESSFUL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20121218 |
Method SET_APPLICATION_CONTEXT on class CL_APC_MANAGER has no exception.
Method SET_ERROR_PAGE Signature
Method SET_ERROR_PAGE on class CL_APC_MANAGER has no parameter.
Method SET_ERROR_PAGE on class CL_APC_MANAGER has no exception.
Method SET_TH_APPLICATION_INFO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_CALLER_IP | Call by reference | Type reference (TYPE) | STRING | 20121210 |
Method SET_TH_APPLICATION_INFO on class CL_APC_MANAGER has no exception.
Method START Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Server | 20121218 |
Method START on class CL_APC_MANAGER has no exception.
Method START_ABAP_RUNTIME_ANALYSIS Signature
Method START_ABAP_RUNTIME_ANALYSIS on class CL_APC_MANAGER has no parameter.
Method START_ABAP_RUNTIME_ANALYSIS on class CL_APC_MANAGER has no exception.
Method START_DEBUGGER Signature
Method START_DEBUGGER on class CL_APC_MANAGER has no parameter.
Method START_DEBUGGER on class CL_APC_MANAGER has no exception.
Method START_FUNCTIONAL_TRACE Signature
Method START_FUNCTIONAL_TRACE on class CL_APC_MANAGER has no parameter.
Method START_FUNCTIONAL_TRACE on class CL_APC_MANAGER has no exception.
Method STOP_ABAP_RUNTIME_ANALYSIS Signature
Method STOP_ABAP_RUNTIME_ANALYSIS on class CL_APC_MANAGER has no parameter.
Method STOP_ABAP_RUNTIME_ANALYSIS on class CL_APC_MANAGER has no exception.
Method WEBSOCKET_HANDSHAKE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20120831 | ||
2 | ![]() |
SUCCESSFUL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130207 |
Method WEBSOCKET_HANDSHAKE on class CL_APC_MANAGER has no exception.
Method WEBSOCKET_SEND_OK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20120904 |
Method WEBSOCKET_SEND_OK on class CL_APC_MANAGER has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 805 |