SAP ABAP Interface IF_REST_RESPONSE (REST Response)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-MID-RST (Application Component) REST-based Protocols
     SREST_CORE (Package) REST Core
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  CL_REST_BASE_RESPONSE REST Base Response 20120307
2 Interface implementation (CLASS c. INTERFACES i_ref)  CL_REST_RESPONSE REST Response 20120325
Properties
Interface IF_REST_RESPONSE  
Short Description REST Response    
General Data
Package SREST_CORE   REST Core 
Created 20100208   SAP 
Last changed 20130531   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 IF_REST_MESSAGE REST Messages 20100208
Friends
Interface IF_REST_RESPONSE has no friend.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_METHOD_DELETE Instance attribute Public Attribute reference (LIKE) 20100302
2 GC_METHOD_GET Instance attribute Public Attribute reference (LIKE) 20100302
3 GC_METHOD_HEAD Instance attribute Public Attribute reference (LIKE) 20100302
4 GC_METHOD_OPTIONS Instance attribute Public Attribute reference (LIKE) 20100302
5 GC_METHOD_POST Instance attribute Public Attribute reference (LIKE) 20100302
6 GC_METHOD_PUT Instance attribute Public Attribute reference (LIKE) 20100302
Methods
# Method Level Visibility Method type Description Created on
1 CREATE_ENTITY Instance method Public Method Creates an Entity 20100302
2 GET_ENTITY Instance method Public Method 20100211
3 GET_ENTITY_TAG Instance method Public Method Set Entity Tag 20100302
4 GET_ETAG Instance method Public Method Get Entity Tag 20100301
5 GET_HEADER_FIELD Instance method Public Method 20100211
6 GET_HEADER_FIELDS Instance method Public Method 20100211
7 GET_REASON Instance method Public Method Get reason phrase 20110118
8 GET_STATUS Instance method Public Method Get Status Code 20100208
9 SET_ENTITY_TAG Instance method Public Method Set Entity Tag 20100302
10 SET_ETAG Instance method Public Method Set Entity Tag 20100301
11 SET_HEADER_FIELD Instance method Public Method Set Header Field 20100211
12 SET_HEADER_FIELDS Instance method Public Method Set Header Fields 20100211
13 SET_REASON Instance method Public Method Set reason phrase 20110118
14 SET_STATUS Instance method Public Method Set Status Code 20100208
Events
Interface IF_REST_RESPONSE has no event.
Types
Interface IF_REST_RESPONSE has no local type.
Method Signatures

Method CREATE_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MULTIPART Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Create Entity 20100302
2 Returning RO_ENTITY Value transfer Object reference (TYPE REF TO) IF_REST_ENTITY REST Representation 20100302

Method CREATE_ENTITY on Interface IF_REST_RESPONSE has no exception.

Method GET_ENTITY Signature

Method GET_ENTITY on Interface IF_REST_RESPONSE has no parameter.
Method GET_ENTITY on Interface IF_REST_RESPONSE has no exception.

Method GET_ENTITY_TAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ETAG Call by reference Type reference (TYPE) STRING Day 20100302
2 Exporting EV_WEAK Call by reference Type reference (TYPE) ABAP_BOOL Is weak ETag? 20100302

Method GET_ENTITY_TAG on Interface IF_REST_RESPONSE has no exception.

Method GET_ETAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_ETAG Value transfer Type reference (TYPE) REST_ETAG_S ETag 20100301

Method GET_ETAG on Interface IF_REST_RESPONSE has no exception.

Method GET_HEADER_FIELD Signature

Method GET_HEADER_FIELD on Interface IF_REST_RESPONSE has no parameter.
Method GET_HEADER_FIELD on Interface IF_REST_RESPONSE has no exception.

Method GET_HEADER_FIELDS Signature

Method GET_HEADER_FIELDS on Interface IF_REST_RESPONSE has no parameter.
Method GET_HEADER_FIELDS on Interface IF_REST_RESPONSE has no exception.

Method GET_REASON Signature

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

Method GET_REASON on Interface IF_REST_RESPONSE has no exception.

Method GET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_STATUS Value transfer Type reference (TYPE) I HTTP Status Code 20100208

Method GET_STATUS on Interface IF_REST_RESPONSE has no exception.

Method SET_ENTITY_TAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ETAG Call by reference Type reference (TYPE) STRING Day 20100302
2 Importing IV_WEAK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Is weak ETag? 20100302

Method SET_ENTITY_TAG on Interface IF_REST_RESPONSE has no exception.

Method SET_ETAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ETAG Call by reference Type reference (TYPE) REST_ETAG_S ETag 20100301

Method SET_ETAG on Interface IF_REST_RESPONSE has no exception.

Method SET_HEADER_FIELD 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 Header Name 20100211
2 Importing IV_VALUE Call by reference Type reference (TYPE) STRING Header Value 20100211

Method SET_HEADER_FIELD on Interface IF_REST_RESPONSE has no exception.

Method SET_HEADER_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_HEADER_FIELDS Call by reference Type reference (TYPE) TIHTTPNVP List of Header Fields 20100211

Method SET_HEADER_FIELDS on Interface IF_REST_RESPONSE has no exception.

Method SET_REASON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REASON Call by reference Type reference (TYPE) STRING 20110118

Method SET_REASON on Interface IF_REST_RESPONSE has no exception.

Method SET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REASON_PHRASE Call by reference Type reference (TYPE) STRING Status Text 20100618
2 Importing IV_STATUS Call by reference Type reference (TYPE) I HTTP Status Code 20100208

Method SET_STATUS on Interface IF_REST_RESPONSE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in