SAP ABAP Class IF_HTTP_CLIENT (HTTP Client Abstraction)
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_HTTP_CLIENT | HTTP Client Control Block | 20001017 |
Properties
| Class | IF_HTTP_CLIENT | |
| Short Description | HTTP Client Abstraction | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20000317 | SAP |
| Last change | 20130531 | SAP |
| 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
Class IF_HTTP_CLIENT has no interface implemented.
Friends
Class IF_HTTP_CLIENT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | 2 | Compression Only for Defined MIME Types | 20011018 | ||
| 2 | Constant | Public | Type reference (TYPE) | I | 1 | Compress All Documents | 20011018 | ||
| 3 | Constant | Public | Type reference (TYPE) | I | 0 | No Compression | 20011022 | ||
| 4 | Constant | Public | Type reference (TYPE) | I | 0 | Inactive | 20000918 | ||
| 5 | Constant | Public | Type reference (TYPE) | I | 1 | Active | 20000918 | ||
| 6 | Constant | Public | Type reference (TYPE) | I | 3 | Event handler | 20010220 | ||
| 7 | Constant | Public | Type reference (TYPE) | I | 2 | Prompt | 20010126 | ||
| 8 | Constant | Public | Type reference (TYPE) | I | 0 | Timeout Standard Value (Instance Timeout) | 20010130 | ||
| 9 | Constant | Public | Type reference (TYPE) | I | -1 | No Timeout | 20010130 | ||
| 10 | Instance attribute | Public | Type reference (TYPE) | I | Send accept-encoding: gzip | 20031010 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | I | Transfer Cookie Fields from Response | 20010124 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | I | Evaluation of System Proxy Configuration | 20010717 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | I | Display Logon Screen | 20000920 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | I | Redirect Documents | 20000519 | |||
| 15 | Instance attribute | Public | Type reference (TYPE) | I | Send SAP Passport | 20040120 | |||
| 16 | Instance attribute | Public | Object reference (TYPE REF TO) | IF_HTTP_REQUEST | HTTP request object | 20000317 | |||
| 17 | Instance attribute | Public | Object reference (TYPE REF TO) | IF_HTTP_RESPONSE | HTTP response object | 20000317 | |||
| 18 | Constant | Public | Type reference (TYPE) | STRING | '1.0' | HTTP Client (User-Agent) Version | 20000317 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Appends the Given Name/Value to the Query String of the URL | 20000317 | |
| 2 | Instance method | Public | Method | Logon Data (Basic Authentication) | 20000317 | |
| 3 | Instance method | Public | Method | Close of HTTP connection | 20000317 | |
| 4 | Instance method | Public | Method | Creates an Absolute URL | 20000317 | |
| 5 | Instance method | Public | Method | Creates a Relative URL | 20000317 | |
| 6 | Static method | Public | Method | HTML encodes the given string, e.g. replaces '<' with '<' | 20000317 | |
| 7 | Static method | Public | Method | URL encodes the given string, e.g. replaces space with %20 | 20000317 | |
| 8 | Instance method | Public | Method | Returns Return Code of Last Method Call | 20000317 | |
| 9 | Static method | Public | Method | Waiting for HTTP Response | 20000330 | |
| 10 | Instance method | Public | Method | Receipt of HTTP Response | 20000317 | |
| 11 | Instance method | Public | Method | Refresh Cookie Object | 20010123 | |
| 12 | Instance method | Public | Method | Refresh Request Object | 20000929 | |
| 13 | Instance method | Public | Method | Refresh response Object | 20000929 | |
| 14 | Instance method | Public | Method | Structure of HTTP Connection and Dispatch of Data | 20000403 | |
| 15 | Instance method | Public | Method | Send SAP Assertion Ticket | 20080826 | |
| 16 | Instance method | Public | Method | Send SAP Logon Ticket | 20031216 | |
| 17 | Instance method | Public | Method | Activation/Deactivation of Compression | 20011018 | |
| 18 | Static method | Public | Method | URL Decodes the Given String | 20000317 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | EVENTKIND_HANDLE_COOKIE | Instance Event (0) |
Public (2) |
Cookie Handling | 20010220 |
Types
Class IF_HTTP_CLIENT has no local type.
Method Signatures
Method APPEND_FIELD_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | the name of the field | 20000317 | |||
| 2 | URL | Call by reference | Type reference (TYPE) | STRING | the URL to which to append the field | 20000317 | |||
| 3 | VALUE | Call by reference | Type reference (TYPE) | STRING | the value of the field | 20000317 |
Method APPEND_FIELD_URL on class IF_HTTP_CLIENT has no exception.
Method AUTHENTICATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | SYMANDT | R/3-System, Mandantennummer aus Anmeldung | 20000321 | |||
| 2 | LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | R/3-System, aktuelle Sprache | 20000321 | |||
| 3 | PASSWORD | Call by reference | Type reference (TYPE) | STRING | Anmdelekennung | 20000321 | |||
| 4 | PROXY_AUTHENTICATION | Call by reference | Type reference (TYPE) | C | ' ' | Proxy-Logon (= 'X') | 20010511 | ||
| 5 | USERNAME | Call by reference | Type reference (TYPE) | STRING | R/3-System, Anmeldename des Benutzers | 20000321 |
Method AUTHENTICATE on class IF_HTTP_CLIENT has no exception.
Method CLOSE Signature
Method CLOSE on class IF_HTTP_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ungültiger Zustand | 20000404 |
Method CREATE_ABS_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HOST | Call by reference | Type reference (TYPE) | STRING | '' | host name | 20000317 | ||
| 2 | PATH | Call by reference | Type reference (TYPE) | STRING | '' | path | 20000317 | ||
| 3 | PORT | Call by reference | Type reference (TYPE) | STRING | '' | port number (e.g. 80) | 20000317 | ||
| 4 | PROTOCOL | Call by reference | Type reference (TYPE) | STRING | '' | protocol name (e.g. http) | 20000317 | ||
| 5 | QUERYSTRING | Call by reference | Type reference (TYPE) | STRING | '' | query string | 20000317 | ||
| 6 | STATEFUL | Call by reference | Type reference (TYPE) | I | -1 | -1: current session setting | 20000317 | ||
| 7 | URL | Value transfer | Type reference (TYPE) | STRING | result URL | 20000317 |
Method CREATE_ABS_URL on class IF_HTTP_CLIENT has no exception.
Method CREATE_REL_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PATH | Call by reference | Type reference (TYPE) | STRING | '' | path | 20000317 | ||
| 2 | QUERYSTRING | Call by reference | Type reference (TYPE) | STRING | '' | query string | 20000317 | ||
| 3 | STATEFUL | Call by reference | Type reference (TYPE) | I | -1 | -1: current session setting | 20000317 | ||
| 4 | URL | Value transfer | Type reference (TYPE) | STRING | result URL | 20000317 |
Method CREATE_REL_URL on class IF_HTTP_CLIENT has no exception.
Method ESCAPE_HTML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ESCAPED | Value transfer | Type reference (TYPE) | STRING | HTML-encoded text | 20000317 | |||
| 2 | UNESCAPED | Call by reference | Type reference (TYPE) | STRING | unencoded text | 20000317 |
Method ESCAPE_HTML on class IF_HTTP_CLIENT has no exception.
Method ESCAPE_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ESCAPED | Value transfer | Type reference (TYPE) | STRING | URL-encoded URL | 20000317 | |||
| 2 | UNESCAPED | Call by reference | Type reference (TYPE) | STRING | unencoded URL | 20000317 |
Method ESCAPE_URL on class IF_HTTP_CLIENT has no exception.
Method GET_LAST_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CODE | Call by reference | Type reference (TYPE) | SYSUBRC | Rückgabewert, Rückgabewert nach ABAP-Anweisungen | 20000317 | |||
| 2 | MESSAGE | Call by reference | Type reference (TYPE) | STRING | Fehlermeldung | 20000317 | |||
| 3 | MESSAGE_CLASS | Call by reference | Type reference (TYPE) | ARBGB | Arbeitsgebiet | 20120712 | |||
| 4 | MESSAGE_NUMBER | Call by reference | Type reference (TYPE) | MSGNR | Nachrichtennummer | 20120712 |
Method GET_LAST_ERROR on class IF_HTTP_CLIENT has no exception.
Method LISTEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Value transfer | Object reference (TYPE REF TO) | IF_HTTP_CLIENT | HTTP Client Abstraction | 20000330 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kommunikationsfehler | 20000404 | ||
| 2 | Keine offene Verbindungen existiert | 20000404 |
Method RECEIVE Signature
Method RECEIVE on class IF_HTTP_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kommunikationsfehler | 20000404 | ||
| 2 | ungültiger Zustand | 20000404 | ||
| 3 | Bearbeitung der Methode misslungen | 20010123 |
Method REFRESH_COOKIE Signature
Method REFRESH_COOKIE on class IF_HTTP_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Die Ausführung der Methode ist misslungen | 20010123 | ||
| 2 | Bearbeitung der Methode misslungen | 20010123 |
Method REFRESH_REQUEST Signature
Method REFRESH_REQUEST on class IF_HTTP_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Die Ausführung der Methode ist misslungen | 20001005 |
Method REFRESH_RESPONSE Signature
Method REFRESH_RESPONSE on class IF_HTTP_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Die Ausführung der Methode ist misslungen | 20001005 |
Method SEND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TIMEOUT | Call by reference | Type reference (TYPE) | I | CO_TIMEOUT_DEFAULT | Timeout von Antwortwartezeit | 20010130 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kommunikationsfehler | 20000404 | ||
| 2 | Ungültiger Zustand | 20000404 | ||
| 3 | Ungültige Zeitangabe | 20010130 | ||
| 4 | Bearbeitung der Methode misslungen | 20010123 |
Method SEND_SAP_ASSERTION_TICKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | SYMANDT | Mandantenkennung des aktuellen Benutzers | 20080826 | |||
| 2 | SYSTEM_ID | Call by reference | Type reference (TYPE) | SYSYSID | Name des SAP-Systems | 20080826 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter (Client oder SYSTEM_ID) ist nicht verfügbar | 20080826 |
Method SEND_SAP_LOGON_TICKET Signature
Method SEND_SAP_LOGON_TICKET on class IF_HTTP_CLIENT has no parameter.
Method SEND_SAP_LOGON_TICKET on class IF_HTTP_CLIENT has no exception.
Method SET_COMPRESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OPTIONS | Call by reference | Type reference (TYPE) | I | CO_COMPRESS_BASED_ON_MIME_TYPE | CO_COMPRESS_NONE,CO_COMPRESS_IN_ALL_CASES, CO_COMPRESS_BASED | 20011018 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Komprimierung ist nicht möglich | 20011018 |
Method UNESCAPE_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ESCAPED | Call by reference | Type reference (TYPE) | STRING | encoded URL | 20000317 | |||
| 2 | UNESCAPED | Value transfer | Type reference (TYPE) | STRING | decoded URL | 20000317 |
Method UNESCAPE_URL on class IF_HTTP_CLIENT has no exception.
Event Signatures
Event EVENTKIND_HANDLE_COOKIE Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Exporting | Value transfer | Object reference (TYPE REF TO) | IF_HTTP_CLIENT | HTTP Client Abstraction | 20010220 | ||
| 2 | COOKIES | Exporting | Value transfer | Type reference (TYPE) | TIHTTPCKI | HTTP cookies | 20010220 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |