INTF IF_WEB_HTTP_REQUEST

Source Link
Open in ADT

Home
Previous Object: IF_WEB_HTTP_HEADER
Next Object: IF_WEB_HTTP_RESPONSE

Status: RELEASED

Public
Type name_value_pair TYPE if_web_http_request=>name_value_pair
Type cookie TYPE if_web_http_request=>cookie
Type name_value_pairs TYPE if_web_http_request=>name_value_pairs
Type cookies TYPE if_web_http_request=>cookies
Constant co_protocol_version_1_0 TYPE I
Constant co_protocol_version_1_1 TYPE I
Constant co_formfield_encoding_raw TYPE I
Constant co_formfield_encoding_encoded TYPE I
Method set_form_field
  IMPORTING
    i_name TYPE STRING
    i_value TYPE STRING
  RETURNING r_value TYPE if_web_http_request
  RAISING cx_web_message_error
Method set_form_fields
  IMPORTING
    i_fields TYPE if_web_http_request=>name_value_pairs
    i_multivalue TYPE INT4 Optional
  RETURNING r_value TYPE if_web_http_request
  RAISING cx_web_message_error
Method get_form_field
  IMPORTING
    i_name TYPE STRING
    i_formfield_encoding TYPE I Optional
  RETURNING r_value TYPE STRING
  RAISING cx_web_message_error
Method get_form_field_cs
  IMPORTING
    i_name TYPE STRING
    i_formfield_encoding TYPE I Optional
  RETURNING r_value TYPE STRING
  RAISING cx_web_message_error
Method get_form_fields
  IMPORTING
    i_formfield_encoding TYPE I Optional
  RETURNING r_value TYPE if_web_http_request=>name_value_pairs
  RAISING cx_web_message_error
Method get_form_fields_cs
  IMPORTING
    i_formfield_encoding TYPE I Optional
  RETURNING r_value TYPE if_web_http_request=>name_value_pairs
  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_request
  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_request
  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_uri_path
  IMPORTING
    i_uri_path TYPE STRING
    multivalue TYPE INT4 Optional
  RETURNING r_value TYPE if_web_http_request
  RAISING cx_web_message_error
Method set_authorization_basic
  IMPORTING
    i_username TYPE STRING
    i_password TYPE STRING
  RETURNING r_value TYPE if_web_http_request
  RAISING cx_web_message_error
Method set_authorization_bearer
  IMPORTING
    i_bearer TYPE STRING
  RETURNING r_value TYPE if_web_http_request
  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 set_text
  IMPORTING
    i_text TYPE STRING
    i_offset TYPE I Optional
    i_length TYPE I Optional
  RETURNING r_value TYPE if_web_http_request
  RAISING cx_web_message_error
Method get_text
  RETURNING r_value TYPE STRING
  RAISING cx_web_message_error
Method get_method
  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_request
  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 append_text
  IMPORTING
    data TYPE STRING
    offset TYPE I Optional
    length TYPE I Optional
Method append_binary
  IMPORTING
    data TYPE XSTRING
    offset TYPE I Optional
    length TYPE I Optional
Method set_query
  IMPORTING
    query TYPE STRING
Method add_multipart
  IMPORTING
    suppress_content_length TYPE ABAP_BOOL Optional
  RETURNING r_value TYPE if_web_http_request
  RAISING cx_web_message_error
Method get_multipart
  IMPORTING
    index TYPE I
  RETURNING r_value TYPE if_web_http_request
  RAISING cx_web_message_error
Method num_multiparts
  RETURNING num TYPE I
  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_request
  RAISING cx_web_message_error
Method delete_header_field
  IMPORTING
    name TYPE STRING
Method set_content_type
  IMPORTING
    content_type TYPE STRING
Method set_version
  IMPORTING
    version TYPE I Optional
Method to_xstring
  RETURNING data TYPE XSTRING
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 get_content_type
  RETURNING content_type TYPE STRING

Exists on:
754true
750false
702false

Bug reports and ideas welcome
Made using abaplint.app