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 ABAP 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 GC_URI_ABSOLUTE Constant Public Type reference (TYPE) I 1 Absolute URI (see rfc2616-sec5.html#sec5.1.2) 20110218
2 GC_URI_RELATIVE_PATH_ABSOLUTE Constant Public Type reference (TYPE) I 2 Relative path absolute (rfc2616-sec5.html#sec5.1.2) 20110218
3 GC_URI_RELATIVE_PATH_AUTHORITY Constant Public Type reference (TYPE) I 5 Relative path authority (rfc2616-sec5.html#sec5.1.2) 20110218
4 GC_URI_RELATIVE_PATH_EMPTY Constant Public Type reference (TYPE) I 4 Relative path is empty (rfc2616-sec5.html#sec5.1.2) 20110218
5 GC_URI_RELATIVE_PATH_NOSCHEME Constant Public Type reference (TYPE) I 3 Relative path no scheme (rfc2616-sec5.html#sec5.1.2) 20110218
6 GC_URI_UNDEFINED Constant Public Type reference (TYPE) I 0 URI undefined 20110218
Methods
# Method Level Visibility Method type Description Created on
1 MERGE_PATHS Static method Protected Method Merge paths 20130619
2 PARSE_URI Static method Public Method Parse URI 20110218
3 RELATIVE_URI_RESOLUTION Static method Public Method Relative URI resolution 20130619
4 REMOVE_DOT_SEGMENTS 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 Importing IT_BASE_URI_SEGMENT Call by reference Type reference (TYPE) STRING_TABLE Table of Strings 20130619
2 Importing IV_BASE_URI_AUTHORITY Call by reference Type reference (TYPE) STRING 20130619
3 Importing IV_BASE_URI_PATH Call by reference Type reference (TYPE) STRING 20130619
4 Importing IV_RELATIVE_URI_PATH Call by reference Type reference (TYPE) STRING 20130619
5 Returning 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 Exporting ET_SEGMENT Call by reference Type reference (TYPE) STRING_TABLE 20110218
2 Exporting EV_AUTHORITY Call by reference Type reference (TYPE) STRING 20110218
3 Exporting EV_FRAGMENT Call by reference Type reference (TYPE) STRING 20110218
4 Exporting EV_PATH Call by reference Type reference (TYPE) STRING 20110218
5 Exporting EV_QUERY Call by reference Type reference (TYPE) STRING 20110218
6 Exporting EV_SCHEME Call by reference Type reference (TYPE) STRING 20110218
7 Exporting EV_TYPE Call by reference Type reference (TYPE) I 20110218
8 Importing 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 Importing IV_BASE_URI Call by reference Type reference (TYPE) STRING 20130619
2 Importing IV_RELATIVE_URI Call by reference Type reference (TYPE) STRING 20130619
3 Importing IV_STRICT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20130619
4 Returning 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 Importing IV_PATH Call by reference Type reference (TYPE) STRING Path 20110218
2 Returning 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