Show TOC

Background documentationMethods for IF_HTTP_RESPONSE and IF_HTTP_REQUEST Locate this document in the navigation structure

 

IF_HTTP_RESPONSE and IF_HTTP_REQUEST

The following methods enhance the interface IF_HTTP_ENTITY and are implemented in the class CL_HTTP_RESPONSE.

GET_STATUS

Gets the currently set HTTP status code

SET_STATUS

Sets the given HTTP status code

DELETE_COOKIE_AT_CLIENT

Deletes the given cookie on the client side

REDIRECT

Executes a redirect to the given URL

SERVER_CACHE_EXPIRE_ABS

Sets the expiry period for the ICM server cache (see also ICM Server Cache). An absolute date and time are given. The page contained in the cache is invalid after this date and time.

SERVER_CACHE_EXPIRE_DEFAULT

Activates the ICM server cache and sets the default expiry period.

SERVER_CACHE_EXPIRE_REL

Sets a relative expiration period (in seconds) for the ICM server cache.

SERVER_CACHE_BROWSER_DEPENDENT

Sets the indicator for browser-specific HTML in the ICM server cache. The request is only taken from the cache if the request comes from the correct browser type.

COPY

Copies a response object

GET_RAW_MESSAGE

Gets the complete HTTP message

SERVER_CACHE_BROWSER_DEPENDENT

Sets the browser-specific HTML in the response in the server cache

Note Note

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

End of the note.
IF_HTTP_REQUEST

The following methods enhance the interface IF_HTTP_ENTITY and are implemented in the class CL_HTTP_REQUEST.

GET_AUTHORIZATION

Provides information from the authorization header field

SET_AUTHORIZATION

Sets the authorization header field for the request

GET_FORM_DATA

Puts form data into a complex data structure

GET_RAW_MESSAGE

Provides the complete HTTP message

GET_URI_PARAMETER

Provides the value of the required URI parameters

GET_USER_AGENT

Provides user agent information from the request

COPY

Copies a request object

SUPPRESS_CONTENT_TYPE

Does not force text/html as a default

Note Note

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

End of the note.