SAP ABAP Class CL_SMI_CLB_HANDLER (SMI HTTP and CLB layer handler)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
CA-UI2-AR-SM (Application Component) SAP UI Integration - Social Media Collaboration Enablement
⤷
AR_702_SM_SERVICES (Package) UI AR - Social Media Data Provider Impl. (Rel. Dependent)
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SMI_BIZ_OBJ_HANDLER | SMI Business Object handler | 20130603 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SMI_COLLAB_HOST_HANDLER | SMI Collaboration host handler | 20130621 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SMI_CONFIGURATION_HANDLER | SMI System Configuration handler | 20130621 |
Properties
| Class | CL_SMI_CLB_HANDLER | |
| Short Description | SMI HTTP and CLB layer handler | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | AR_702_SM_SERVICES | UI AR - Social Media Data Provider Impl. (Rel. Dependent) |
| Created | 20130603 | SAP |
| Last change | 20141120 | |
| 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
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SMI_BIZ_OBJ_HANDLER | SMI Business Object handler | 20130603 | ||
| 2 | IF_SMI_COLLAB_HOST_HANDLER | SMI Collaboration host handler | 20130621 | ||
| 3 | IF_SMI_CONFIGURATION_HANDLER | SMI System Configuration handler | 20130621 |
Friends
Class CL_SMI_CLB_HANDLER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Object reference (TYPE REF TO) | IF_CLB2_PROCESS | 20130603 | ||||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_CLB2_BO_DB_ACCESS | 20130603 | ||||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML | 20130603 | ||||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML_STREAM_FACTORY | 20130603 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | CLB2_APPLICATION_ID | 20130603 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | STRING | 20130621 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | STRING | 20130603 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Verify Jam response for errors and raise exception. | 20130926 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20130603 | |
| 3 | Instance method | Public | Method | Creates an object representing a HTTP request. | 20130603 | |
| 4 | Instance method | Public | Method | Gets the error message from Jam response | 20130603 | |
| 5 | Instance method | Private | Method | Gets the metadata namespace from Jam response | 20130603 | |
| 6 | Instance method | Private | Method | Converts XML in xstring representation to a DOM object. | 20130603 |
Events
Class CL_SMI_CLB_HANDLER has no event.
Types
Class CL_SMI_CLB_HANDLER has no local type.
Method Signatures
Method CHECK_RESPONSE_FOR_ERRORS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CLB_METHOD | Call by reference | Object reference (TYPE REF TO) | CL_CLB2_METHOD | Object containing the HTTP response code and payload. | 20130926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130926 |
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SMI_CLB_HANDLER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Technical Exception | 20130603 |
Method CREATE_CLB_METHOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_HEADERS | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_NAME_VALUE_PAIR | Table for HTTP headers. | 20131101 | |||
| 2 | IV_AUTHENTICATION_CONTEXT | Call by reference | Type reference (TYPE) | CLB2_AUTH_CONTEXT | Type of authentication. | 20130619 | |||
| 3 | IV_CHECK_XML | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | If the CLB layer checks the XML of the response. | 20130621 | ||
| 4 | IV_HTTP_METHOD | Call by reference | Type reference (TYPE) | STRING | HTTP Method such as GET, POST, PUT, DELETE, etc. | 20130619 | |||
| 5 | IV_PAYLOAD | Call by reference | Type reference (TYPE) | STRING | '' | XML payload of HTTP request. | 20131101 | ||
| 6 | IV_SAP_JAM_ENDPOINT | Call by reference | Type reference (TYPE) | STRING | URL of request's destination. | 20130619 | |||
| 7 | IV_XPAYLOAD | Call by reference | Type reference (TYPE) | XSTRING | 20131122 | ||||
| 8 | RO_CLB_METHOD | Value transfer | Object reference (TYPE REF TO) | CL_CLB2_METHOD | Object representation of HTTP request. | 20130603 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130603 | |||
| 2 | 20130603 |
Method GET_JAM_ERROR_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ERROR_XML_DOM | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | DOM containing a Jam error. | 20130603 | |||
| 2 | RV_ERROR_MESSAGE | Value transfer | Type reference (TYPE) | STRING | The error message extracted from the input DOM | 20130603 |
Method GET_JAM_ERROR_MESSAGE on class CL_SMI_CLB_HANDLER has no exception.
Method GET_ODATA_METADATA_NAMESPACE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_IXML_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | DOM containing the OData metadata namespace URL. | 20130603 | |||
| 2 | RV_ODATA_METADATA_NAMESPACE | Value transfer | Type reference (TYPE) | STRING | OData metadata namesapce URL extracted from the input DOM. | 20130603 |
Method GET_ODATA_METADATA_NAMESPACE on class CL_SMI_CLB_HANDLER has no exception.
Method XSTRING_XML_TO_IXML_DOCUMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_IXML_DOCUMENT | Value transfer | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | DOM representaion of input XML. | 20130926 | |||
| 2 | EV_ERROR_MESSAGE | Call by reference | Type reference (TYPE) | STRING | Returns a non empty error when an error occurs. | 20130926 | |||
| 3 | IV_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | Xstring representation of HTTP response's XML payload. | 20130603 |
Method XSTRING_XML_TO_IXML_DOCUMENT on class CL_SMI_CLB_HANDLER has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 100 |