SAP ABAP Class CL_REST_URI_UTILS (REST URI Utilities)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-MID-RST (Application Component) REST-based Protocols
     SREST_UTIL (Package) REST Utility Functions
Properties
Class 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 SREST_UTIL   REST Utility Functions 
Created 20101214   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_REST_URI_UTILS has no forward declaration.
Interfaces
Class CL_REST_URI_UTILS has no interface implemented.
Friends
Class 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) 20101214
2 GC_URI_RELATIVE_PATH_ABSOLUTE Constant Public Type reference (TYPE) I 2 Relative path absolute (rfc2616-sec5.html#sec5.1.2) 20101214
3 GC_URI_RELATIVE_PATH_AUTHORITY Constant Public Type reference (TYPE) I 5 Relative path authority (rfc2616-sec5.html#sec5.1.2) 20101214
4 GC_URI_RELATIVE_PATH_EMPTY Constant Public Type reference (TYPE) I 4 Relative path is empty (rfc2616-sec5.html#sec5.1.2) 20101214
5 GC_URI_RELATIVE_PATH_NOSCHEME Constant Public Type reference (TYPE) I 3 Relative path no scheme (rfc2616-sec5.html#sec5.1.2) 20101214
6 GC_URI_UNDEFINED Constant Public Type reference (TYPE) I 0 URI undefined 20101214
Methods
# Method Level Visibility Method type Description Created on
1 PARSE_URI Static method Public Method Parse URI 20101214
2 REMOVE_DOT_SEGMENTS Static method Protected Method Remove dot segments 20101214
Events
Class CL_REST_URI_UTILS has no event.
Types
Class CL_REST_URI_UTILS has no local type.
Method Signatures

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 20101214
2 Exporting EV_AUTHORITY Call by reference Type reference (TYPE) STRING 20101214
3 Exporting EV_FRAGMENT Call by reference Type reference (TYPE) STRING 20101214
4 Exporting EV_PATH Call by reference Type reference (TYPE) STRING 20101214
5 Exporting EV_QUERY Call by reference Type reference (TYPE) STRING 20101214
6 Exporting EV_SCHEME Call by reference Type reference (TYPE) STRING 20101214
7 Exporting EV_TYPE Call by reference Type reference (TYPE) I 20101214
8 Importing IV_URI Call by reference Type reference (TYPE) STRING 20101214

Method PARSE_URI on class 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 20101214
2 Returning RV_PATH Value transfer Type reference (TYPE) STRING Path 20101214

Method REMOVE_DOT_SEGMENTS on class CL_REST_URI_UTILS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 802