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
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 | IV_MULTIPART | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Create Entity | 20100302 | ||
| 2 | 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 | EV_ETAG | Call by reference | Type reference (TYPE) | STRING | Day | 20100302 | |||
| 2 | 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 | 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 | 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 | 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 | IV_ETAG | Call by reference | Type reference (TYPE) | STRING | Day | 20100302 | |||
| 2 | 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 | 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 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | Header Name | 20100211 | |||
| 2 | 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 | 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 | 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 | IV_REASON_PHRASE | Call by reference | Type reference (TYPE) | STRING | Status Text | 20100618 | |||
| 2 | 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 |