SAP ABAP Class /IWCOR/CL_REST_HTTP_HANDLER (REST HTTP Handler)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷
OPU-FND-CCL (Application Component) IWF Consumer Connectivity Layer
⤷
/IWCOR/SREST_HTTP (Package) REST library HTTP
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | /IWCOR/IF_REST_APPLICATION | REST Application | 20100708 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_HTTP_EXTENSION | HTTP Framework (iHTTP) HTTP Request Handler | 20100708 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | /IWCOR/CL_DS_HDLR_HTTP | OData application | 20110808 |
| 2 | Inheritance (c INHERITING FROM c_ref) | /IWCOR/CL_REST_HTTP_HDLR_SP2 | REST HTTP Handler for SP2 release | 20111214 |
| 3 | Inheritance (c INHERITING FROM c_ref) | /IWCOR/CL_REST_TEST_SCENARIO | Test HTTP Handler and Scenario Tests | 20100708 |
Properties
| Class | /IWCOR/CL_REST_HTTP_HANDLER | |
| Short Description | REST HTTP Handler | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /IWCOR/SREST_HTTP | REST library HTTP |
| Created | 20100212 | 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 | /IWCOR/IF_REST_APPLICATION | REST Application | 20100708 | ||
| 2 | IF_HTTP_EXTENSION | HTTP Framework (iHTTP) HTTP Request Handler | 20100708 |
Friends
Class /IWCOR/CL_REST_HTTP_HANDLER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Protected | Type reference (TYPE) | FLOW_HISTORY_T | 20120418 | ||||
| 2 | Static Attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Allow Method Override | 20100708 | ||
| 3 | Static Attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Check for 'requested with' | 20100708 | ||
| 4 | Static Attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Custom session management (has priority over GV_SOFTSTATE) | 20131119 | ||
| 5 | Static Attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Stateful | 20110218 | ||
| 6 | Instance attribute | Protected | Object reference (TYPE REF TO) | /IWCOR/IF_REST_CONTEXT | REST Context | 20110218 | |||
| 7 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Server Object | 20100708 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | 20131119 | ||
| 2 | Instance method | Protected | Method | Handle CSRF token | 20111214 | |
| 3 | Instance method | Protected | Method | Handle custom session management | 20131119 | |
| 4 | Instance method | Protected | Method | Initialize http request handling | 20120516 |
Events
Class /IWCOR/CL_REST_HTTP_HANDLER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | FLOW_HISTORY_S | Public | See coding | 20120418 | BEGIN OF flow_history_s,
script_name TYPE string,
script_name_expanded TYPE string,
flow_rc type i,
END OF flow_history_s
|
||
| 2 | FLOW_HISTORY_T | Public | See coding | 20120418 | flow_history_t TYPE STANDARD TABLE OF flow_history_s WITH DEFAULT KEY
|
Method Signatures
Method GET_ROOT_HANDLER Signature
Method GET_ROOT_HANDLER on class /IWCOR/CL_REST_HTTP_HANDLER has no parameter.
Method GET_ROOT_HANDLER on class /IWCOR/CL_REST_HTTP_HANDLER has no exception.
Method HANDLE_CSRF_TOKEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CSRF_HANDLER | Call by reference | Object reference (TYPE REF TO) | /IWCOR/IF_REST_CSRF_HANDLER | REST CSRF Handler | 20111214 | |||
| 2 | IO_REQUEST | Call by reference | Object reference (TYPE REF TO) | /IWCOR/IF_REST_REQUEST | REST Request | 20111214 | |||
| 3 | IO_RESPONSE | Call by reference | Object reference (TYPE REF TO) | /IWCOR/IF_REST_RESPONSE | REST Response | 20111214 |
Method HANDLE_CSRF_TOKEN on class /IWCOR/CL_REST_HTTP_HANDLER has no exception.
Method HANDLE_CUSTOM_SESSION_MGMT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CSMGMT_HANDLER | Call by reference | Object reference (TYPE REF TO) | /IWCOR/IF_REST_CSMGMT_HANDLER | REST Custom Session Management Handler | 20131119 | |||
| 2 | IO_REQUEST | Call by reference | Object reference (TYPE REF TO) | /IWCOR/IF_REST_REQUEST | REST Request | 20131119 | |||
| 3 | IO_RESPONSE | Call by reference | Object reference (TYPE REF TO) | /IWCOR/IF_REST_RESPONSE | REST Response | 20131119 |
Method HANDLE_CUSTOM_SESSION_MGMT on class /IWCOR/CL_REST_HTTP_HANDLER has no exception.
Method INITIALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_PATH_INFO | Call by reference | Type reference (TYPE) | STRING | Path info | 20120516 | |||
| 2 | CV_PATH_INFO_EXPANDED | Call by reference | Type reference (TYPE) | STRING | Path info expanded | 20120516 | |||
| 3 | CV_SCRIPT_NAME | Call by reference | Type reference (TYPE) | STRING | Script name | 20120516 | |||
| 4 | CV_SCRIPT_NAME_EXPANDED | Call by reference | Type reference (TYPE) | STRING | Script name expanded | 20120516 | |||
| 5 | EV_SKIP | Call by reference | Type reference (TYPE) | ABAP_BOOL | Skip root handler | 20120516 | |||
| 6 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWCOR/IF_REST_CONTEXT | Context | 20120516 |
Method INITIALIZE on class /IWCOR/CL_REST_HTTP_HANDLER has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 100 |