SAP ABAP Class CL_REST_HTTP_RESP_PROV (HTTP Response provider)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-MID-RST (Application Component) REST-based Protocols
     SREST_EXT (Package) REST Extensions
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_REST_ENTITY_PROVIDER REST Entity Provider 20110711
Properties
Class CL_REST_HTTP_RESP_PROV  
Short Description HTTP Response provider    
Super Class CL_REST_ENTITY_PROVIDER REST Entity Provider 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SREST_EXT   REST Extensions 
Created 20110118   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_REST_HTTP_RESP_PROV has no forward declaration.
Interfaces
Class CL_REST_HTTP_RESP_PROV has no interface implemented.
Friends
Class CL_REST_HTTP_RESP_PROV has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_CLASS_REST_HTTP_RESPONSE Constant Private Type reference (TYPE) STRING 'CL_REST_HTTP_RESPONSE' 20110826
2 MO_RESPONSE Instance attribute Private Object reference (TYPE REF TO) IF_REST_RESPONSE 20110711
3 MS_RESPONSE Instance attribute Private Type reference (TYPE) REST_RESPONSE_S 20110711
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20110119
2 DESERIALIZE Static method Public Method Deserialize entity 20110822
3 GET_RESPONSE Instance method Public Method Get response 20110119
4 SERIALIZE Static method Public Method Serialize entity 20110822
5 SET_HTTP_RESPONSE_VERSION Static method Protected Method Set http version 20110913
6 SET_RESPONSE Instance method Public Method Set response 20110119
Events
Class CL_REST_HTTP_RESP_PROV has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 REST_RESPONSE_S Public See coding 20110711 BEGIN OF rest_response_s, status_line TYPE srest_status_line_s, header_fields TYPE tihttpnvp, message_body TYPE xstring, END OF rest_response_s
2 SREST_STATUS_LINE_S Public See coding 20110711 BEGIN OF srest_status_line_s, version TYPE string, status_code TYPE string, reason_phrase TYPE string, END OF srest_status_line_s
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ENTITY Call by reference Object reference (TYPE REF TO) IF_REST_ENTITY REST Entity (target when wrapping or source when unwrapping) 20110119
2 Importing IO_RESPONSE Call by reference Object reference (TYPE REF TO) IF_REST_RESPONSE REST Response to be wrapped or unwrapped 20110119

Method CONSTRUCTOR on class CL_REST_HTTP_RESP_PROV has no exception.

Method DESERIALIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATA Call by reference Type reference (TYPE) XSTRING REST representation 20110822
2 Returning RO_RESPONSE Value transfer Object reference (TYPE REF TO) IF_REST_RESPONSE REST Response 20110822

Method DESERIALIZE on class CL_REST_HTTP_RESP_PROV has no exception.

Method GET_RESPONSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_RESPONSE Value transfer Object reference (TYPE REF TO) IF_REST_RESPONSE REST Response to be wrapped or unwrapped 20110119

Method GET_RESPONSE on class CL_REST_HTTP_RESP_PROV has no exception.

Method SERIALIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_RESPONSE Call by reference Object reference (TYPE REF TO) IF_REST_RESPONSE REST Representation 20110822
2 Returning RV_DATA Value transfer Type reference (TYPE) XSTRING REST Response 20110822

Method SERIALIZE on class CL_REST_HTTP_RESP_PROV has no exception.

Method SET_HTTP_RESPONSE_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_HTTP_RESPONSE Call by reference Object reference (TYPE REF TO) IF_HTTP_RESPONSE HTTP Response 20110913
2 Importing IV_VERSION Call by reference Type reference (TYPE) I HTTP Response Version 20110913

Method SET_HTTP_RESPONSE_VERSION on class CL_REST_HTTP_RESP_PROV has no exception.

Method SET_RESPONSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_RESPONSE Call by reference Object reference (TYPE REF TO) IF_REST_RESPONSE REST Response to be wrapped or unwrapped 20110119

Method SET_RESPONSE on class CL_REST_HTTP_RESP_PROV has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 802