SAP ABAP Class CL_APC_WS_CROSS_ORIGIN (Class for APC cross origin)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-MID-AC (Application Component) ABAP Channels
⤷
SAPC_TOOLS (Package) APC troubleshooting tools, e.g. logging, tracing, etc.
⤷
⤷
Properties
| Class | CL_APC_WS_CROSS_ORIGIN | |
| Short Description | Class for APC cross origin | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SAPC_TOOLS | APC troubleshooting tools, e.g. logging, tracing, etc. |
| Created | 20130507 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_APC_WS_CROSS_ORIGIN has no forward declaration.
Interfaces
Class CL_APC_WS_CROSS_ORIGIN has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_APC_MANAGER | 20130513 | ABAP Push Channel (APC) WebSocket (WS) framework manager |
Attributes
Class CL_APC_WS_CROSS_ORIGIN has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Protected | Method | check origin header | 20130507 | |
| 2 | Static method | Private | Method | Retrieve host/port and protcol from host header | 20130513 | |
| 3 | Static method | Private | Method | Retrieve host/port and protcol from origin input parameters | 20130513 | |
| 4 | Static method | Private | Method | Read the Design Time Settings in table APC_CROSS_ORIGIN | 20130507 |
Events
Class CL_APC_WS_CROSS_ORIGIN has no event.
Types
Class CL_APC_WS_CROSS_ORIGIN has no local type.
Method Signatures
Method CHECK_ORIGIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_HOST_HEADER | Call by reference | Type reference (TYPE) | STRING | 20130513 | ||||
| 2 | I_ORIGIN_HEADER | Call by reference | Type reference (TYPE) | STRING | 20130507 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130507 |
Method GET_ATTR_BY_HOST_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_DT_SETTINGS | Call by reference | Type reference (TYPE) | APC_CROSS_ORIGIN_T | Table Type for APC Cross Origin | 20130513 | |||
| 2 | I_HOST_HEADER | Call by reference | Type reference (TYPE) | STRING | 20130513 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for APC cross origin header | 20130513 |
Method GET_ATTR_BY_ORIGIN_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ORIGIN_ATTR | Call by reference | Type reference (TYPE) | APC_CROSS_ORIGIN_T | Table Type for APC Cross Origin | 20130513 | |||
| 2 | I_ORIGIN_HEADER | Call by reference | Type reference (TYPE) | STRING | 20130513 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for APC cross origin header | 20130513 |
Method GET_DESIGNTIME_SETTINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DT_SETTINGS | Call by reference | Type reference (TYPE) | APC_CROSS_ORIGIN_T | Table Type for APC Cross Origin | 20130507 |
Method GET_DESIGNTIME_SETTINGS on class CL_APC_WS_CROSS_ORIGIN has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |