SAP ABAP Class /IWBEP/CL_JSRPC_HTTP_SERVER (JSON RPC 2.0 CSRF guard)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷
OPU-BSE-BEP (Application Component) Gateway Business Eventing and Provisioning
⤷
/IWBEP/JSON_RPC_CORE (Package) JSON-RPC 2.0 # Implementation
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | /IWBEP/IF_JSRPC_TRANSPORT | JSON RPC 2.0 Transport | 20131024 |
Properties
| Class | /IWBEP/CL_JSRPC_HTTP_SERVER | |
| Short Description | JSON RPC 2.0 CSRF guard | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /IWBEP/JSON_RPC_CORE | JSON-RPC 2.0 # Implementation |
| Created | 20131021 | SAP |
| Last change | 20141120 | |
| 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 | /IWBEP/IF_JSRPC_TRANSPORT | JSON RPC 2.0 Transport | 20131024 |
Friends
Class /IWBEP/CL_JSRPC_HTTP_SERVER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | STRING | 20131024 | ||||
| 2 | Constant | Public | Type reference (TYPE) | I | IF_HTTP_SERVER=>CO_DISABLED | 20131024 | |||
| 3 | Constant | Public | Type reference (TYPE) | I | IF_HTTP_SERVER=>CO_ENABLED | 20131024 | |||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'X-CSRF-Token' | 20131024 | |||
| 5 | Constant | Public | Type reference (TYPE) | STRING | `cookie` | 20131024 | |||
| 6 | Constant | Public | Type reference (TYPE) | STRING | `url` | 20131024 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | STRING | 20131024 | ||||
| 8 | Instance attribute | Protected | Type reference (TYPE) | STRING | 20131024 | ||||
| 9 | Instance attribute | Protected | Type reference (TYPE) | STRING | 20131024 | ||||
| 10 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_HTTP_SERVER | 20131024 | ||||
| 11 | Instance attribute | Protected | Type reference (TYPE) | STRING | '/' | 20131024 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | 20131024 | ||
| 2 | Instance method | Protected | Method | 20131024 | ||
| 3 | Instance method | Protected | Method | 20131024 | ||
| 4 | Static method | Public | Method | 20131024 | ||
| 5 | Instance method | Protected | Method | 20131024 | ||
| 6 | Instance method | Protected | Method | 20131024 | ||
| 7 | Instance method | Protected | Method | 20131024 | ||
| 8 | Instance method | Protected | Method | 20131024 |
Events
Class /IWBEP/CL_JSRPC_HTTP_SERVER has no event.
Types
Class /IWBEP/CL_JSRPC_HTTP_SERVER has no local type.
Method Signatures
Method CALL_GET_TOKEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RETURN_CODE | Value transfer | Type reference (TYPE) | I | 20131024 | ||||
| 2 | TOKEN | Call by reference | Type reference (TYPE) | STRING | 20131024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions with Dynamic Check Only of the RAISING Clause | 20131024 |
Method CALL_LOGOFF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DELETE_MYSAPSSO2_COOKIE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20131024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception | 20131024 |
Method CALL_VALIDATE_TOKEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RETURN_CODE | Value transfer | Type reference (TYPE) | I | 20131024 | ||||
| 2 | SUCCESSFUL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20131024 | ||||
| 3 | TOKEN | Call by reference | Type reference (TYPE) | STRING | 20131024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20131024 |
Method CREATE 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 | 20131024 | ||||
| 2 | TRANSPORT | Value transfer | Object reference (TYPE REF TO) | /IWBEP/CL_JSRPC_HTTP_SERVER | 20131024 |
Method CREATE on class /IWBEP/CL_JSRPC_HTTP_SERVER has no exception.
Method GET_TOKEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TOKEN | Value transfer | Type reference (TYPE) | STRING | 20131024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | JSON RPC 2.0 internal error | 20131024 |
Method LOGOFF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DELETE_MYSAPSSO2_COOKIE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20131024 | |||
| 2 | RETURN_CODE | Value transfer | Type reference (TYPE) | I | 20131024 |
Method LOGOFF on class /IWBEP/CL_JSRPC_HTTP_SERVER has no exception.
Method SET_STATEFUL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENDPOINT | Call by reference | Type reference (TYPE) | STRING | 20131024 | ||||
| 2 | REWRITE_ENDPOINT | Call by reference | Type reference (TYPE) | STRING | 20131024 | ||||
| 3 | STATEFUL | Call by reference | Type reference (TYPE) | I | IF_HTTP_SERVER=>CO_DISABLED | 20131024 | |||
| 4 | VIA | Call by reference | Type reference (TYPE) | STRING | CO_VIA_URL | 20131024 |
Method SET_STATEFUL on class /IWBEP/CL_JSRPC_HTTP_SERVER has no exception.
Method VALIDATE_TOKEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TOKEN | Call by reference | Type reference (TYPE) | STRING | 20131024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20131024 | |||
| 2 | 20131024 |
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 200 |