SAP ABAP Interface /IWCOR/IF_REST_REQUEST (REST Request)
Hierarchy
SAP_GWFND (Software Component) SAP Gateway Foundation
   OPU-FND-CCL (Application Component) IWF Consumer Connectivity Layer
     /IWCOR/SREST_CORE (Package) REST library core
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /IWCOR/CL_REST_BASE_REQUEST REST Base Request 20120305
2 Interface implementation (CLASS c. INTERFACES i_ref)  /IWCOR/CL_REST_REQUEST REST Request 20100708
3 Interface implementation (CLASS c. INTERFACES i_ref)  /IWCOR/CL_REST_STUB_REQUEST Mock Impl of Interface /IWCOR/IF_REST_REQUEST 20120928
Properties
Interface /IWCOR/IF_REST_REQUEST  
Short Description REST Request    
General Data
Package /IWCOR/SREST_CORE   REST library core 
Created 20100208   SAP 
Last changed 20131127   SAP 
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
# Interface Abstract Final Description Created on
1 /IWCOR/IF_REST_MESSAGE REST Messages 20120305
Friends
Interface /IWCOR/IF_REST_REQUEST has no friend.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_HEADER_CSRF_TOKEN Constant Public Type reference (TYPE) STRING 'X-CSRF-Token' Header Field for CSRF Token 20120305
2 GC_HEADER_HTTP_METHOD Constant Public Type reference (TYPE) STRING 'X-HTTP-Method' Alternative Header Field for HTTP Method Override 20120305
3 GC_HEADER_METHOD_OVERRIDE Constant Public Type reference (TYPE) STRING 'X-HTTP-Method-Override' Header Field for Method Override 20120305
4 GC_HEADER_REQUESTED_WITH Constant Public Type reference (TYPE) STRING 'X-Requested-With' Header Field for CSRF Protection 20120305
5 GC_METHOD_DELETE Instance attribute Public Attribute reference (LIKE) 20120305
6 GC_METHOD_GET Instance attribute Public Attribute reference (LIKE) 20120305
7 GC_METHOD_HEAD Instance attribute Public Attribute reference (LIKE) 20120305
8 GC_METHOD_MERGE Instance attribute Public Attribute reference (LIKE) 20120305
9 GC_METHOD_OPTIONS Instance attribute Public Attribute reference (LIKE) 20120305
10 GC_METHOD_PATCH Instance attribute Public Attribute reference (LIKE) 20120305
11 GC_METHOD_POST Instance attribute Public Attribute reference (LIKE) 20120305
12 GC_METHOD_PUT Instance attribute Public Attribute reference (LIKE) 20120305
Methods
# Method Level Visibility Method type Description Created on
1 GET_ENTITY Instance method Public Method 20120305
2 GET_HEADER_FIELD Instance method Public Method 20120305
3 GET_HEADER_FIELDS Instance method Public Method 20120305
4 GET_METHOD Instance method Public Method Get Request Method 20120305
5 GET_URI Instance method Public Method Get URI 20120305
6 GET_URI_ATTRIBUTE Instance method Public Method Get URI Attribute 20120305
7 GET_URI_ATTRIBUTES Instance method Public Method Get URI Attributes 20120305
8 GET_URI_FRAGMENT Instance method Public Method Get URI Fragment (#) 20120305
9 GET_URI_MATRIX_PARAMETER Instance method Public Method --- OBSOLETE DO NOT USE --- 20120305
10 GET_URI_MATRIX_PARAMETERS Instance method Public Method --- OBSOLETE DO NOT USE --- 20120305
11 GET_URI_PATH Instance method Public Method Get REST Path of URI 20120305
12 GET_URI_QUERY_PARAMETER Instance method Public Method Get URI Query parameters (?) 20120305
13 GET_URI_QUERY_PARAMETERS Instance method Public Method Get URI Query Parameters (?) 20120305
14 GET_URI_SEGMENTS Instance method Public Method Get URI Path Segments (/) 20120305
15 HAS_URI_QUERY_PARAMETER Instance method Public Method Has URI a Query Parameter 20120305
16 SET_URI_ATTRIBUTES Instance method Public Method Set URI Attributes 20120305
Events
Interface /IWCOR/IF_REST_REQUEST has no event.
Types
Interface /IWCOR/IF_REST_REQUEST has no local type.
Method Signatures

Method GET_ENTITY Signature

Method GET_ENTITY on Interface /IWCOR/IF_REST_REQUEST has no parameter.
Method GET_ENTITY on Interface /IWCOR/IF_REST_REQUEST has no exception.

Method GET_HEADER_FIELD Signature

Method GET_HEADER_FIELD on Interface /IWCOR/IF_REST_REQUEST has no parameter.
Method GET_HEADER_FIELD on Interface /IWCOR/IF_REST_REQUEST has no exception.

Method GET_HEADER_FIELDS Signature

Method GET_HEADER_FIELDS on Interface /IWCOR/IF_REST_REQUEST has no parameter.
Method GET_HEADER_FIELDS on Interface /IWCOR/IF_REST_REQUEST has no exception.

Method GET_METHOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_METHOD Value transfer Type reference (TYPE) STRING Request Method 20120305

Method GET_METHOD on Interface /IWCOR/IF_REST_REQUEST has no exception.

Method GET_URI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ENCODED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Return encoded URL? 20120305
2 Returning RV_REQUEST_URI Value transfer Type reference (TYPE) STRING Request URI 20120305

Method GET_URI on Interface /IWCOR/IF_REST_REQUEST has no exception.

Method GET_URI_ATTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ENCODED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Is Attribute Value URL encoded? 20120305
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING Attribute Name 20120305
3 Returning RV_VALUE Value transfer Type reference (TYPE) STRING Attribute Value 20120305

Method GET_URI_ATTRIBUTE on Interface /IWCOR/IF_REST_REQUEST has no exception.

Method GET_URI_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ENCODED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Is Attribute Value URL encoded? 20120305
2 Returning RT_ATTRIBUTES Value transfer Type reference (TYPE) TIHTTPNVP List of Attributes 20120305

Method GET_URI_ATTRIBUTES on Interface /IWCOR/IF_REST_REQUEST has no exception.

Method GET_URI_FRAGMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_FRAGMENT Value transfer Type reference (TYPE) STRING URI Fragment 20120305

Method GET_URI_FRAGMENT on Interface /IWCOR/IF_REST_REQUEST has no exception.

Method GET_URI_MATRIX_PARAMETER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NAME Call by reference Type reference (TYPE) STRING Matrix Parameter Name 20120305
2 Returning RV_VALUE Value transfer Type reference (TYPE) STRING Matrix Parameter Value 20120305

Method GET_URI_MATRIX_PARAMETER on Interface /IWCOR/IF_REST_REQUEST has no exception.

Method GET_URI_MATRIX_PARAMETERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_PARAMETERS Value transfer Type reference (TYPE) TIHTTPNVP List of Matrix Parameters (Name/Value) 20120305

Method GET_URI_MATRIX_PARAMETERS on Interface /IWCOR/IF_REST_REQUEST has no exception.

Method GET_URI_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ENCODED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Return encoded URL? 20120305
2 Returning RV_REST_PATH Value transfer Type reference (TYPE) STRING REST Path of URI 20120305

Method GET_URI_PATH on Interface /IWCOR/IF_REST_REQUEST has no exception.

Method GET_URI_QUERY_PARAMETER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ENCODED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Is Attribute Value URL encoded? 20120305
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING Query Parameter Name 20120305
3 Returning RV_VALUE Value transfer Type reference (TYPE) STRING Query Parameter Value 20120305

Method GET_URI_QUERY_PARAMETER on Interface /IWCOR/IF_REST_REQUEST has no exception.

Method GET_URI_QUERY_PARAMETERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ENCODED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Is Attribute Value URL encoded? 20120305
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING Parameter Name 20120305
3 Returning RT_PARAMETERS Value transfer Type reference (TYPE) TIHTTPNVP List of Query Parameters (Name/Value) 20120305

Method GET_URI_QUERY_PARAMETERS on Interface /IWCOR/IF_REST_REQUEST has no exception.

Method GET_URI_SEGMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_SEGMENTS Value transfer Type reference (TYPE) STRING_TABLE List of Path Segments 20120305

Method GET_URI_SEGMENTS on Interface /IWCOR/IF_REST_REQUEST has no exception.

Method HAS_URI_QUERY_PARAMETER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NAME Call by reference Type reference (TYPE) STRING Parameter Name 20120305
2 Returning RV_CONTAINS_PARAMETER Value transfer Type reference (TYPE) ABAP_BOOL Exist Parameter 20120305

Method HAS_URI_QUERY_PARAMETER on Interface /IWCOR/IF_REST_REQUEST has no exception.

Method SET_URI_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ATTRIBUTES Call by reference Type reference (TYPE) TIHTTPNVP List of Attributes 20120305

Method SET_URI_ATTRIBUTES on Interface /IWCOR/IF_REST_REQUEST has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in 200