INTF IF_WEB_HTTP_RESPONSE

Source Link
Open in ADT

Home
Previous Object: IF_WEB_HTTP_REQUEST
Next Object: IF_WEB_HTTP_STATUS

Status: RELEASED

Public
Type tx_contract TYPE if_web_http_response=>tx_contract
Type http_status TYPE if_web_http_response=>http_status
Constant co_compress_based_on_mime_type TYPE I
Constant co_formfield_encoding_raw TYPE I
Constant co_formfield_encoding_encoded TYPE I
Constant co_compress_none TYPE I
Constant co_compress_in_all_cases TYPE I
Method set_text
  IMPORTING
    i_text TYPE STRING
    i_offset TYPE I Optional
    i_length TYPE I Optional
  RETURNING r_value TYPE if_web_http_response
  RAISING cx_web_message_error
Method get_text
  RETURNING r_value TYPE STRING
  RAISING cx_web_message_error
Method set_binary
  IMPORTING
    i_data TYPE XSTRING
    i_offset TYPE I Optional
    i_length TYPE I Optional
  RETURNING r_value TYPE if_web_http_response
  RAISING cx_web_message_error
Method set_header_field
  IMPORTING
    i_name TYPE STRING
    i_value TYPE STRING
  RETURNING r_value TYPE if_web_http_response
  RAISING cx_web_message_error
Method get_binary
  IMPORTING
    i_offset TYPE I Optional
    i_length TYPE I Optional
  RETURNING r_value TYPE XSTRING
  RAISING cx_web_message_error
Method set_header_fields
  IMPORTING
    i_fields TYPE if_web_http_request=>name_value_pairs
  RETURNING r_value TYPE if_web_http_response
  RAISING cx_web_message_error
Method get_header_field
  IMPORTING
    i_name TYPE STRING
  RETURNING r_value TYPE STRING
  RAISING cx_web_message_error
Method get_header_fields
  RETURNING r_value TYPE if_web_http_request=>name_value_pairs
  RAISING cx_web_message_error
Method set_status
  IMPORTING
    i_code TYPE I
    i_reason TYPE STRING Optional
  RETURNING r_value TYPE if_web_http_response
  RAISING cx_web_message_error
Method get_status
  RETURNING r_value TYPE if_web_http_response=>http_status
  RAISING cx_web_message_error
Method set_cookie
  IMPORTING
    i_name TYPE STRING
    i_path TYPE STRING Optional
    i_value TYPE STRING
    i_domain TYPE STRING Optional
    i_expires TYPE STRING Optional
    i_secure TYPE I Optional
  RETURNING r_value TYPE if_web_http_response
  RAISING cx_web_message_error
Method get_cookie
  IMPORTING
    i_name TYPE STRING
    i_path TYPE STRING Optional
  RETURNING r_value TYPE if_web_http_request=>cookie
  RAISING cx_web_message_error
Method get_cookies
  RETURNING r_value TYPE if_web_http_request=>cookies
  RAISING cx_web_message_error
Method to_xstring
  RETURNING data TYPE XSTRING
Method add_multipart
  IMPORTING
    suppress_content_length TYPE ABAP_BOOL Optional
  RETURNING r_value TYPE if_web_http_response
  RAISING cx_web_message_error
Method get_multipart
  IMPORTING
    index TYPE I
  RETURNING r_value TYPE if_web_http_response
  RAISING cx_web_message_error
Method num_multiparts
  RETURNING num TYPE I
  EXCEPTIONS cx_web_message_error
Method delete_header_field
  IMPORTING
    name TYPE STRING
Method delete_cookie_at_client
  IMPORTING
    name TYPE STRING
    path TYPE STRING Optional
    domain TYPE STRING Optional
Method get_content_type
  RETURNING content_type TYPE STRING
Method set_compression
  IMPORTING
    disable_extended_checks TYPE ABAP_BOOL Optional
    options TYPE I Optional
Method set_content_type
  IMPORTING
    content_type TYPE STRING
Method suppress_content_type
  IMPORTING
    suppress TYPE ABAP_BOOL Optional
Method from_xstring
  IMPORTING
    data TYPE XSTRING
Method get_data_length
  EXPORTING
    data_length TYPE I
Method set_formfield_encoding
  IMPORTING
    formfield_encoding TYPE I
Method get_last_error
  RETURNING rc TYPE I
Method server_cache_expire_rel
  IMPORTING
    expires_rel TYPE I
    etag TYPE CHAR32 Optional
    browser_dependent TYPE BOOLEAN Optional
    no_ufo_cache TYPE BOOLEAN Optional

Exists on:
754true
750false
702false

Bug reports and ideas welcome
Made using abaplint.app