SAP ABAP Interface IF_REST_CLIENT (REST Client)
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_HTTP_CLIENT | REST HTTP Client | 20100212 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_REST_LOCAL_CLIENT | REST Local Client | 20110711 |
Properties
| Interface | IF_REST_CLIENT | |
| Short Description | REST Client |
General Data
| Package | SREST_CORE | REST Core |
| Created | 20100211 | SAP |
| Last changed | 20130531 | SAP |
| Unicode checks active |
Forward declarations
Interface IF_REST_CLIENT has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_REST_RESOURCE | REST Resource | 20100211 |
Friends
Interface IF_REST_CLIENT has no friend.
Attributes
Interface IF_REST_CLIENT has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Closes the Client | 20100225 | |
| 2 | Instance method | Public | Method | Creates an Entity | 20100303 | |
| 3 | Instance method | Public | Method | 20100224 | ||
| 4 | Instance method | Public | Method | 20100224 | ||
| 5 | Instance method | Public | Method | Get Response | 20100303 | |
| 6 | Instance method | Public | Method | Get Header Field | 20100303 | |
| 7 | Instance method | Public | Method | Get all Header Fields | 20100303 | |
| 8 | Instance method | Public | Method | Get Status code | 20100223 | |
| 9 | Instance method | Public | Method | 20100224 | ||
| 10 | Instance method | Public | Method | 20100224 | ||
| 11 | Instance method | Public | Method | 20100224 | ||
| 12 | Instance method | Public | Method | 20100224 | ||
| 13 | Instance method | Public | Method | Set Request Header | 20100303 | |
| 14 | Instance method | Public | Method | Set Request Headers | 20100303 |
Events
Interface IF_REST_CLIENT has no event.
Types
Interface IF_REST_CLIENT has no local type.
Method Signatures
Method CLOSE Signature
Method CLOSE on Interface IF_REST_CLIENT has no parameter.
Method CLOSE on Interface IF_REST_CLIENT has no exception.
Method CREATE_REQUEST_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 | 20100303 | ||
| 2 | RO_ENTITY | Value transfer | Object reference (TYPE REF TO) | IF_REST_ENTITY | REST Representation | 20100303 |
Method CREATE_REQUEST_ENTITY on Interface IF_REST_CLIENT has no exception.
Method DELETE Signature
Method DELETE on Interface IF_REST_CLIENT has no parameter.
Method DELETE on Interface IF_REST_CLIENT has no exception.
Method GET Signature
Method GET on Interface IF_REST_CLIENT has no parameter.
Method GET on Interface IF_REST_CLIENT has no exception.
Method GET_RESPONSE_ENTITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_RESPONSE_ENTITY | Value transfer | Object reference (TYPE REF TO) | IF_REST_ENTITY | REST Representation | 20100312 |
Method GET_RESPONSE_ENTITY on Interface IF_REST_CLIENT has no exception.
Method GET_RESPONSE_HEADER 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 | 20100303 | |||
| 2 | RV_VALUE | Value transfer | Type reference (TYPE) | STRING | Header Value | 20100303 |
Method GET_RESPONSE_HEADER on Interface IF_REST_CLIENT has no exception.
Method GET_RESPONSE_HEADERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_HEADER_FIELDS | Value transfer | Type reference (TYPE) | TIHTTPNVP | List of Headers | 20100303 |
Method GET_RESPONSE_HEADERS on Interface IF_REST_CLIENT 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 | 20100223 |
Method GET_STATUS on Interface IF_REST_CLIENT has no exception.
Method HEAD Signature
Method HEAD on Interface IF_REST_CLIENT has no parameter.
Method HEAD on Interface IF_REST_CLIENT has no exception.
Method OPTIONS Signature
Method OPTIONS on Interface IF_REST_CLIENT has no parameter.
Method OPTIONS on Interface IF_REST_CLIENT has no exception.
Method POST Signature
Method POST on Interface IF_REST_CLIENT has no parameter.
Method POST on Interface IF_REST_CLIENT has no exception.
Method PUT Signature
Method PUT on Interface IF_REST_CLIENT has no parameter.
Method PUT on Interface IF_REST_CLIENT has no exception.
Method SET_REQUEST_HEADER 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 | 20100303 | |||
| 2 | IV_VALUE | Call by reference | Type reference (TYPE) | STRING | Header Value | 20100303 |
Method SET_REQUEST_HEADER on Interface IF_REST_CLIENT has no exception.
Method SET_REQUEST_HEADERS 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 | Header Fields | 20100303 |
Method SET_REQUEST_HEADERS on Interface IF_REST_CLIENT has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |