SAP ABAP Class /IWCOR/CL_REST_URI_UTILS (REST URI Utilities)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷
OPU-FND-CCL (Application Component) IWF Consumer Connectivity Layer
⤷
/IWCOR/SREST_UTIL (Package) REST library utilities
⤷
⤷
Properties
| Class | /IWCOR/CL_REST_URI_UTILS | |
| Short Description | REST URI Utilities | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /IWCOR/SREST_UTIL | REST library utilities |
| Created | 20101214 | 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
Class /IWCOR/CL_REST_URI_UTILS has no interface implemented.
Friends
Class /IWCOR/CL_REST_URI_UTILS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | 1 | Absolute URI (see rfc2616-sec5.html#sec5.1.2) | 20110218 | ||
| 2 | Constant | Public | Type reference (TYPE) | I | 2 | Relative path absolute (rfc2616-sec5.html#sec5.1.2) | 20110218 | ||
| 3 | Constant | Public | Type reference (TYPE) | I | 5 | Relative path authority (rfc2616-sec5.html#sec5.1.2) | 20110218 | ||
| 4 | Constant | Public | Type reference (TYPE) | I | 4 | Relative path is empty (rfc2616-sec5.html#sec5.1.2) | 20110218 | ||
| 5 | Constant | Public | Type reference (TYPE) | I | 3 | Relative path no scheme (rfc2616-sec5.html#sec5.1.2) | 20110218 | ||
| 6 | Constant | Public | Type reference (TYPE) | I | 0 | URI undefined | 20110218 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Protected | Method | Merge paths | 20130619 | |
| 2 | Static method | Public | Method | Parse URI | 20110218 | |
| 3 | Static method | Public | Method | Relative URI resolution | 20130619 | |
| 4 | Static method | Protected | Method | Remove dot segments | 20110218 |
Events
Class /IWCOR/CL_REST_URI_UTILS has no event.
Types
Class /IWCOR/CL_REST_URI_UTILS has no local type.
Method Signatures
Method MERGE_PATHS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_BASE_URI_SEGMENT | Call by reference | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20130619 | |||
| 2 | IV_BASE_URI_AUTHORITY | Call by reference | Type reference (TYPE) | STRING | 20130619 | ||||
| 3 | IV_BASE_URI_PATH | Call by reference | Type reference (TYPE) | STRING | 20130619 | ||||
| 4 | IV_RELATIVE_URI_PATH | Call by reference | Type reference (TYPE) | STRING | 20130619 | ||||
| 5 | RV_TARGET_URI_PATH | Value transfer | Type reference (TYPE) | STRING | 20130619 |
Method MERGE_PATHS on class /IWCOR/CL_REST_URI_UTILS has no exception.
Method PARSE_URI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SEGMENT | Call by reference | Type reference (TYPE) | STRING_TABLE | 20110218 | ||||
| 2 | EV_AUTHORITY | Call by reference | Type reference (TYPE) | STRING | 20110218 | ||||
| 3 | EV_FRAGMENT | Call by reference | Type reference (TYPE) | STRING | 20110218 | ||||
| 4 | EV_PATH | Call by reference | Type reference (TYPE) | STRING | 20110218 | ||||
| 5 | EV_QUERY | Call by reference | Type reference (TYPE) | STRING | 20110218 | ||||
| 6 | EV_SCHEME | Call by reference | Type reference (TYPE) | STRING | 20110218 | ||||
| 7 | EV_TYPE | Call by reference | Type reference (TYPE) | I | 20110218 | ||||
| 8 | IV_URI | Call by reference | Type reference (TYPE) | STRING | 20110218 |
Method PARSE_URI on class /IWCOR/CL_REST_URI_UTILS has no exception.
Method RELATIVE_URI_RESOLUTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BASE_URI | Call by reference | Type reference (TYPE) | STRING | 20130619 | ||||
| 2 | IV_RELATIVE_URI | Call by reference | Type reference (TYPE) | STRING | 20130619 | ||||
| 3 | IV_STRICT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20130619 | |||
| 4 | RV_TARGET_URI | Value transfer | Type reference (TYPE) | STRING | 20130619 |
Method RELATIVE_URI_RESOLUTION on class /IWCOR/CL_REST_URI_UTILS has no exception.
Method REMOVE_DOT_SEGMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | Path | 20110218 | |||
| 2 | RV_PATH | Value transfer | Type reference (TYPE) | STRING | Path | 20110218 |
Method REMOVE_DOT_SEGMENTS on class /IWCOR/CL_REST_URI_UTILS has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 200 |