SAP ABAP Class CL_TPDA_ADT_RESPONSE_SPY (Test double for recording response data set by resource)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
     STPDA_ADT_TEST (Package) Test helpers for debugger tests
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 20131031
Properties
Class CL_TPDA_ADT_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 0   
Package STPDA_ADT_TEST   Test helpers for debugger tests 
Created 20131030   SAP 
Last change 20141121    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_TPDA_ADT_RESPONSE_SPY has no forward declaration.
Interfaces
Class CL_TPDA_ADT_RESPONSE_SPY has no interface implemented.
Friends
Class CL_TPDA_ADT_RESPONSE_SPY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CONTENT_HANDLER Instance attribute Private Object reference (TYPE REF TO) IF_ADT_REST_CONTENT_HANDLER 20131031
2 DATA Instance attribute Private Object reference (TYPE REF TO) DATA 20131031
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20131031
2 GET_BODY_DATA Instance method Public Method Get body data of response 20131031
3 GET_CONTENT_HANDLER Instance method Public Method Get content handler for response body 20131031
4 GET_ETAG Instance method Public Method Get value of header field 'ETag' 20131031
5 GET_LAST_MODIFIED Instance method Public Method Get value of header field 'Last-Modified' 20131031
6 GET_LOCATION Instance method Public Method Get value of header field 'Location' 20131031
7 GET_STATUS Instance method Public Method Get HTTP status 20131031
8 IS_BODY_EMPTY Instance method Public Method Determine if body is empty 20131031
Events
Class CL_TPDA_ADT_RESPONSE_SPY has no event.
Types
Class CL_TPDA_ADT_RESPONSE_SPY has no local type.
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REST_RESPONSE Call by reference Object reference (TYPE REF TO) IF_REST_RESPONSE 20131031

Method CONSTRUCTOR on class CL_TPDA_ADT_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 Exporting DATA Call by reference Type reference (TYPE) DATA 20131031
# Exception Resumable Description Created on
1 CX_ADT_REST_DATA_INVALID 20131031

Method GET_CONTENT_HANDLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) IF_ADT_REST_CONTENT_HANDLER 20131031

Method GET_CONTENT_HANDLER on class CL_TPDA_ADT_RESPONSE_SPY has no exception.

Method GET_ETAG Signature

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

Method GET_ETAG on class CL_TPDA_ADT_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 Returning RESULT Value transfer Type reference (TYPE) TIMESTAMP 20131031

Method GET_LAST_MODIFIED on class CL_TPDA_ADT_RESPONSE_SPY has no exception.

Method GET_LOCATION Signature

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

Method GET_LOCATION on class CL_TPDA_ADT_RESPONSE_SPY has no exception.

Method GET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) I 20131031

Method GET_STATUS on class CL_TPDA_ADT_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 Returning RESULT Value transfer Type reference (TYPE) BOOLE_D 20131031

Method IS_BODY_EMPTY on class CL_TPDA_ADT_RESPONSE_SPY has no exception.
History
Last changed by/on SAP  20141121 
SAP Release Created in 740