SAP ABAP Class IF_REST_RESPONSE (REST Response)
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface composition (i COMPRISING i_ref) | IF_REST_MESSAGE | REST Messages | 20100208 |
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
| Class | IF_REST_RESPONSE | |
| Short Description | REST Response | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20100208 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class IF_REST_RESPONSE has no interface implemented.
Friends
Class IF_REST_RESPONSE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Attribute reference (LIKE) | 20100302 | |||||
| 2 | Instance attribute | Public | Attribute reference (LIKE) | 20100302 | |||||
| 3 | Instance attribute | Public | Attribute reference (LIKE) | 20100302 | |||||
| 4 | Instance attribute | Public | Attribute reference (LIKE) | 20100302 | |||||
| 5 | Instance attribute | Public | Attribute reference (LIKE) | 20100302 | |||||
| 6 | Instance attribute | Public | Attribute reference (LIKE) | 20100302 |
Methods
Events
Class IF_REST_RESPONSE has no event.
Types
Class 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 class IF_REST_RESPONSE has no exception.
Method GET_ENTITY Signature
Method GET_ENTITY on class IF_REST_RESPONSE has no parameter.
Method GET_ENTITY on class 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 class 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 class IF_REST_RESPONSE has no exception.
Method GET_HEADER_FIELD Signature
Method GET_HEADER_FIELD on class IF_REST_RESPONSE has no parameter.
Method GET_HEADER_FIELD on class IF_REST_RESPONSE has no exception.
Method GET_HEADER_FIELDS Signature
Method GET_HEADER_FIELDS on class IF_REST_RESPONSE has no parameter.
Method GET_HEADER_FIELDS on class 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 class 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 class 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 class 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 class 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 class 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 class 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 class 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 class IF_REST_RESPONSE has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |