SAP ABAP Class CL_ADT_REST_RESPONSE_SPY (Test double for recording response data set by resource)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-AIE (Application Component) Installation and Infrastructure for ABAP Tools in Eclipse
⤷
SADT_REST (Package) REST Framework
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_ADT_REST_RESPONSE | Wrapper for REST Response | 20101214 |
Properties
| Class | CL_ADT_REST_RESPONSE_SPY | |
| Short Description | Test double for recording response data set by resource | |
| Super Class | CL_ADT_REST_RESPONSE | Wrapper for REST Response |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 5 | |
| Package | SADT_REST | REST Framework |
| Created | 20101130 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_ADT_REST_RESPONSE_SPY has no forward declaration.
Interfaces
Class CL_ADT_REST_RESPONSE_SPY has no interface implemented.
Friends
Class CL_ADT_REST_RESPONSE_SPY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_ADT_REST_CONTENT_HANDLER | 20101214 | ||||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | 20101214 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor | 20110609 | |
| 2 | Instance method | Public | Method | Get body data of response | 20101222 | |
| 3 | Instance method | Public | Method | Get content handler for response body | 20101214 | |
| 4 | Instance method | Public | Method | Get value of header field 'ETag' | 20110131 | |
| 5 | Instance method | Public | Method | Get value of header field 'Last-Modified' | 20110131 | |
| 6 | Instance method | Public | Method | Get value of header field 'Location' | 20110614 | |
| 7 | Instance method | Public | Method | Get HTTP status | 20110614 | |
| 8 | Instance method | Public | Method | Determine if body is empty | 20120731 |
Events
Class CL_ADT_REST_RESPONSE_SPY has no event.
Types
Class CL_ADT_REST_RESPONSE_SPY has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_ADT_REST_RESPONSE_SPY has no parameter.
Method CONSTRUCTOR on class CL_ADT_REST_RESPONSE_SPY has no exception.
Method GET_BODY_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | DATA | 20101222 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20101222 |
Method GET_CONTENT_HANDLER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Object reference (TYPE REF TO) | IF_ADT_REST_CONTENT_HANDLER | 20101214 |
Method GET_CONTENT_HANDLER on class CL_ADT_REST_RESPONSE_SPY has no exception.
Method GET_ETAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | STRING | 20110131 |
Method GET_ETAG on class CL_ADT_REST_RESPONSE_SPY has no exception.
Method GET_LAST_MODIFIED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | TIMESTAMP | 20110131 |
Method GET_LAST_MODIFIED on class CL_ADT_REST_RESPONSE_SPY has no exception.
Method GET_LOCATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | STRING | 20110614 |
Method GET_LOCATION on class CL_ADT_REST_RESPONSE_SPY has no exception.
Method GET_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | I | 20110614 |
Method GET_STATUS on class CL_ADT_REST_RESPONSE_SPY has no exception.
Method IS_BODY_EMPTY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | BOOLE_D | 20120731 |
Method IS_BODY_EMPTY on class CL_ADT_REST_RESPONSE_SPY has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 740 |