Show TOC

MethodsLocate this document in the navigation structure

Use

The following methods are defined by the interface IF_HTTP_SERVER:

CREATE_ABS_URL()

Creates the string representation of an absolute URL, based either on the given arguments (such as protocol, server, port, path, query string) or on the values indirectly defined by the current request (for example, the current request always knows the server and port). The resulting URL can be used in HTML pages to reference the current session and, by means of this, to connect different dialog steps in the system to the same session.

CREATE_REL_URL()

The same as CREATE_ABS_URL(), but creates a relative URL (that is, no protocol, server, or port can be specified).

APPEND_FIELD_URL()

Adds the given name/value pair to the given URL as a query string. The name and value are automatically URL-escaped. When this method is called in a loop, any number of name/value pairs can be simply and easily added to the final URL.

ESCAPE_URL()

Use the method of the same name of the interface IF_HTTP_UTILITY.

UNESCAPE_URL()

Use the method of the same name of the interface IF_HTTP_UTILITY.

GET_EXTENSION_URL()

Returns URLs for which the given HTTP request handler is set in associated services.

GET_EXTENSION_INFO()

Returns the protocol, the host name, the port, and the URL for a HTTP extension.

ESCAPE_HTML()

Use the method of the same name of the interface IF_HTTP_UTILITY.

DECODE_BASE64()

Use the method of the same name of the interface IF_HTTP_UTILITY.

ENCODE_BASE64()

Use the method of the same name of the interface IF_HTTP_UTILITY.

GET_LAST_ERROR()

Use the method of the same name of the interface IF_HTTP_UTILITY.

GET_LOCATION

Gets the host and port for WebAS in the customer domain.

GET_LOCATION_EXCEPTION

Gets the host and port from the exception table only.

SET_SESSION_STATEFUL

Activate/deactivate stateful session with cookies.

SET_SESSION_STATEFUL_VIA_URL

Activate/deactivate stateful session with URL rewrite.

SET_COMPRESSION

Activate/deactivate compression.

SEND_PAGE

Sends an error or log-off page.

SET_PAGE

Defines the type of error page or redirect.

LOGOFF

Cancels the session and deletes the MYASAPSSO2 cookie.

Note

For more information: SAP Note 1318220. Information published on SAP site.

Note

You can see the current list of methods in transaction SE24.