SAP ABAP Class CL_REST_COND_UTILS (REST Resource)
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_COND_UTILS  
Short Description REST Resource    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SREST_UTIL   REST Utility Functions 
Created 20111012   SAP 
Last change 20130531   SAP 
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 CL_REST_COND_UTILS has no interface implemented.
Friends
Class CL_REST_COND_UTILS has no friend class.
Attributes
Class CL_REST_COND_UTILS has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_IF_MATCH Static method Protected Method Check for If-Match 20111012
2 CHECK_IF_NONE_MATCH Static method Protected Method Check for If-None-Match 20111012
3 COPY_ENTITY Static method Protected Method Copy Entity 20111012
4 COPY_RESPONSE Static method Public Method Copy Response 20111012
5 GET_CONDITIONS Static method Public Method Get Conditions 20111012
6 HANDLE_CONDITIONS Static method Public Method Handle conditions 20111012
7 IS_MULTIPART Static method Protected Method Is Multipart Entity? 20111012
Events
Class CL_REST_COND_UTILS has no event.
Types
Class CL_REST_COND_UTILS has no local type.
Method Signatures

Method CHECK_IF_MATCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CONDITIONS Call by reference Type reference (TYPE) REST_CONDITIONS Conditions 20111012
2 Importing IS_ETAG Call by reference Type reference (TYPE) REST_ETAG_S ETag 20111012
3 Importing IV_EXISITING Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Conditions available 20111012
4 Returning RV_STATUS Value transfer Type reference (TYPE) I Status 20111012

Method CHECK_IF_MATCH on class CL_REST_COND_UTILS has no exception.

Method CHECK_IF_NONE_MATCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CONDITIONS Call by reference Type reference (TYPE) REST_CONDITIONS Conditions 20111012
2 Importing IS_ETAG Call by reference Type reference (TYPE) REST_ETAG_S ETag 20111012
3 Importing IV_EXISITING Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Conditions available 20111012
4 Importing IV_METHOD Call by reference Type reference (TYPE) STRING HTTP Method 20111012
5 Importing IV_MODIFICATION_DATE Call by reference Type reference (TYPE) TIMESTAMP Modification Date 20111012
6 Returning RV_STATUS Value transfer Type reference (TYPE) I Status 20111012

Method CHECK_IF_NONE_MATCH on class CL_REST_COND_UTILS has no exception.

Method COPY_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SOURCE_ENTITY Call by reference Object reference (TYPE REF TO) IF_REST_ENTITY Source REST Entity 20111012
2 Importing IO_TARGET_ENTITY Call by reference Object reference (TYPE REF TO) IF_REST_ENTITY Target REST Entity 20111012

Method COPY_ENTITY on class CL_REST_COND_UTILS has no exception.

Method COPY_RESPONSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SOURCE_RESPONSE Call by reference Object reference (TYPE REF TO) IF_REST_RESPONSE Source Response 20111012
2 Importing IO_TARGET_RESPONSE Call by reference Object reference (TYPE REF TO) IF_REST_RESPONSE Target Response 20111012

Method COPY_RESPONSE on class CL_REST_COND_UTILS has no exception.

Method GET_CONDITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_REQUEST Call by reference Object reference (TYPE REF TO) IF_REST_REQUEST REST Request 20111012
2 Returning RS_CONDITIONS Value transfer Type reference (TYPE) REST_CONDITIONS Conditions 20111012

Method GET_CONDITIONS on class CL_REST_COND_UTILS has no exception.

Method HANDLE_CONDITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_CONDITIONS Call by reference Type reference (TYPE) REST_CONDITIONS REST Conditions 20111012
2 Exporting EV_STATUS_CODE Call by reference Type reference (TYPE) I Status code 20111012
3 Importing IS_ETAG Call by reference Type reference (TYPE) REST_ETAG_S Entity tag 20111012
4 Importing IV_EXISTING Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Resource exists 20111012
5 Importing IV_METHOD Call by reference Type reference (TYPE) STRING HTTP Method 20111012
6 Importing IV_MODIFICATION_DATE Call by reference Type reference (TYPE) TIMESTAMP Modification date 20111012
7 Importing IV_STATUS_CODE Call by reference Type reference (TYPE) I Status code of conditional GET request 20111012

Method HANDLE_CONDITIONS on class CL_REST_COND_UTILS has no exception.

Method IS_MULTIPART Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ENTITY Call by reference Object reference (TYPE REF TO) IF_REST_ENTITY REST Entity 20111012
2 Returning RV_IS_MULTIPART Value transfer Type reference (TYPE) ABAP_BOOL Is Multipart? 20111012

Method IS_MULTIPART on class CL_REST_COND_UTILS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 803