All files / output if_web_http_response.intf.mjs

81.69% Statements 58/71
100% Branches 2/2
1.56% Functions 1/64
81.69% Lines 58/71

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 711x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x   1x 1x 1x 1x   1x 1x   1x 1x 1x 1x 1x 1x 1x           1x 1x           1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x
// if_web_http_response.intf.abap
class if_web_http_response {
  static INTERNAL_TYPE = 'INTF';
  static INTERNAL_NAME = 'IF_WEB_HTTP_RESPONSE';
  static ATTRIBUTES = {"CO_COMPRESS_NONE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "CO_COMPRESS_IN_ALL_CASES": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "CO_COMPRESS_BASED_ON_MIME_TYPE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "CO_FORMFIELD_ENCODING_RAW": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "CO_FORMFIELD_ENCODING_ENCODED": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}};
  static METHODS = {"SET_STATUS": {"visibility": "U", "parameters": {"R_VALUE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_WEB_HTTP_RESPONSE", RTTIName: "\\INTERFACE=IF_WEB_HTTP_RESPONSE"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}, "I_CODE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}, "I_REASON": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}}},
  "GET_STATUS": {"visibility": "U", "parameters": {"R_VALUE": {"type": () => {return new abap.types.Structure({
  "code": new abap.types.Integer({qualifiedName: "IF_WEB_HTTP_RESPONSE=>HTTP_STATUS-CODE"}),
  "reason": new abap.types.String({qualifiedName: "IF_WEB_HTTP_RESPONSE=>HTTP_STATUS-REASON"})}, "if_web_http_response=>http_status", undefined, {}, {});}, "is_optional": " ", "parm_kind": "R", "type_name": "StructureType"}}},
  "SET_HEADER_FIELD": {"visibility": "U", "parameters": {"R_VALUE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_WEB_HTTP_RESPONSE", RTTIName: "\\INTERFACE=IF_WEB_HTTP_RESPONSE"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}, "I_NAME": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "I_VALUE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}}},
  "GET_HEADER_FIELD": {"visibility": "U", "parameters": {"R_VALUE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "R", "type_name": "StringType"}, "I_NAME": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}}},
  "SET_HEADER_FIELDS": {"visibility": "U", "parameters": {"R_VALUE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_WEB_HTTP_RESPONSE", RTTIName: "\\INTERFACE=IF_WEB_HTTP_RESPONSE"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}, "I_FIELDS": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "name": new abap.types.String({qualifiedName: "IF_WEB_HTTP_REQUEST=>NAME_VALUE_PAIR-NAME"}),
  "value": new abap.types.String({qualifiedName: "IF_WEB_HTTP_REQUEST=>NAME_VALUE_PAIR-VALUE"})}, "if_web_http_request=>name_value_pair", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["NAME"]},"secondary":[]}, "if_web_http_request=>name_value_pairs");}, "is_optional": " ", "parm_kind": "I", "type_name": "TableType"}}},
  "GET_HEADER_FIELDS": {"visibility": "U", "parameters": {"R_VALUE": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "name": new abap.types.String({qualifiedName: "IF_WEB_HTTP_REQUEST=>NAME_VALUE_PAIR-NAME"}),
  "value": new abap.types.String({qualifiedName: "IF_WEB_HTTP_REQUEST=>NAME_VALUE_PAIR-VALUE"})}, "if_web_http_request=>name_value_pair", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["NAME"]},"secondary":[]}, "if_web_http_request=>name_value_pairs");}, "is_optional": " ", "parm_kind": "R", "type_name": "TableType"}}},
  "SET_TEXT": {"visibility": "U", "parameters": {"R_VALUE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_WEB_HTTP_RESPONSE", RTTIName: "\\INTERFACE=IF_WEB_HTTP_RESPONSE"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}, "I_TEXT": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "I_OFFSET": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}, "I_LENGTH": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}}},
  "GET_TEXT": {"visibility": "U", "parameters": {"R_VALUE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "R", "type_name": "StringType"}}},
  "SET_BINARY": {"visibility": "U", "parameters": {"R_VALUE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_WEB_HTTP_RESPONSE", RTTIName: "\\INTERFACE=IF_WEB_HTTP_RESPONSE"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}, "I_DATA": {"type": () => {return new abap.types.XString({qualifiedName: "XSTRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "XStringType"}, "I_OFFSET": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}, "I_LENGTH": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}}},
  "GET_BINARY": {"visibility": "U", "parameters": {"R_VALUE": {"type": () => {return new abap.types.XString({qualifiedName: "XSTRING"});}, "is_optional": " ", "parm_kind": "R", "type_name": "XStringType"}, "I_OFFSET": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}, "I_LENGTH": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}}},
  "SET_COOKIE": {"visibility": "U", "parameters": {"R_VALUE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_WEB_HTTP_RESPONSE", RTTIName: "\\INTERFACE=IF_WEB_HTTP_RESPONSE"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}, "I_NAME": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "I_PATH": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "I_VALUE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "I_DOMAIN": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "I_EXPIRES": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "I_SECURE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}}},
  "GET_COOKIE": {"visibility": "U", "parameters": {"R_VALUE": {"type": () => {return new abap.types.Structure({
  "name": new abap.types.String({qualifiedName: "IF_WEB_HTTP_REQUEST=>COOKIE-NAME"}),
  "value": new abap.types.String({qualifiedName: "IF_WEB_HTTP_REQUEST=>COOKIE-VALUE"}),
  "domain": new abap.types.String({qualifiedName: "IF_WEB_HTTP_REQUEST=>COOKIE-DOMAIN"}),
  "path": new abap.types.String({qualifiedName: "IF_WEB_HTTP_REQUEST=>COOKIE-PATH"}),
  "secure": new abap.types.Integer({qualifiedName: "INT4"}),
  "expires": new abap.types.String({qualifiedName: "IF_WEB_HTTP_REQUEST=>COOKIE-EXPIRES"})}, "if_web_http_request=>cookie", undefined, {}, {});}, "is_optional": " ", "parm_kind": "R", "type_name": "StructureType"}, "I_NAME": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "I_PATH": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}}},
  "GET_COOKIES": {"visibility": "U", "parameters": {"R_VALUE": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "name": new abap.types.String({qualifiedName: "IF_WEB_HTTP_REQUEST=>COOKIE-NAME"}),
  "value": new abap.types.String({qualifiedName: "IF_WEB_HTTP_REQUEST=>COOKIE-VALUE"}),
  "domain": new abap.types.String({qualifiedName: "IF_WEB_HTTP_REQUEST=>COOKIE-DOMAIN"}),
  "path": new abap.types.String({qualifiedName: "IF_WEB_HTTP_REQUEST=>COOKIE-PATH"}),
  "secure": new abap.types.Integer({qualifiedName: "INT4"}),
  "expires": new abap.types.String({qualifiedName: "IF_WEB_HTTP_REQUEST=>COOKIE-EXPIRES"})}, "if_web_http_request=>cookie", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["NAME","PATH"]},"secondary":[]}, "if_web_http_request=>cookies");}, "is_optional": " ", "parm_kind": "R", "type_name": "TableType"}}},
  "DELETE_COOKIE_AT_CLIENT": {"visibility": "U", "parameters": {"NAME": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "PATH": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "DOMAIN": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}}},
  "ADD_MULTIPART": {"visibility": "U", "parameters": {"R_VALUE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_WEB_HTTP_RESPONSE", RTTIName: "\\INTERFACE=IF_WEB_HTTP_RESPONSE"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}, "SUPPRESS_CONTENT_LENGTH": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}},
  "GET_MULTIPART": {"visibility": "U", "parameters": {"R_VALUE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_WEB_HTTP_RESPONSE", RTTIName: "\\INTERFACE=IF_WEB_HTTP_RESPONSE"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}, "INDEX": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}}},
  "NUM_MULTIPARTS": {"visibility": "U", "parameters": {"NUM": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "R", "type_name": "IntegerType"}}},
  "SET_COMPRESSION": {"visibility": "U", "parameters": {"DISABLE_EXTENDED_CHECKS": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "OPTIONS": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}}},
  "SET_CONTENT_TYPE": {"visibility": "U", "parameters": {"CONTENT_TYPE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}}},
  "GET_CONTENT_TYPE": {"visibility": "U", "parameters": {"CONTENT_TYPE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "R", "type_name": "StringType"}}},
  "SUPPRESS_CONTENT_TYPE": {"visibility": "U", "parameters": {"SUPPRESS": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}},
  "DELETE_HEADER_FIELD": {"visibility": "U", "parameters": {"NAME": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}}},
  "TO_XSTRING": {"visibility": "U", "parameters": {"DATA": {"type": () => {return new abap.types.XString({qualifiedName: "XSTRING"});}, "is_optional": " ", "parm_kind": "R", "type_name": "XStringType"}}},
  "FROM_XSTRING": {"visibility": "U", "parameters": {"DATA": {"type": () => {return new abap.types.XString({qualifiedName: "XSTRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "XStringType"}}},
  "GET_DATA_LENGTH": {"visibility": "U", "parameters": {"DATA_LENGTH": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "E", "type_name": "IntegerType"}}},
  "SET_FORMFIELD_ENCODING": {"visibility": "U", "parameters": {"FORMFIELD_ENCODING": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}}},
  "GET_LAST_ERROR": {"visibility": "U", "parameters": {"RC": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "R", "type_name": "IntegerType"}}},
  "SERVER_CACHE_EXPIRE_REL": {"visibility": "U", "parameters": {"EXPIRES_REL": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}, "ETAG": {"type": () => {return new abap.types.Character(32, {"qualifiedName":"CHAR32","ddicName":"CHAR32","description":""});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "BROWSER_DEPENDENT": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"BOOLEAN","ddicName":"BOOLEAN","description":""});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "NO_UFO_CACHE": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"BOOLEAN","ddicName":"BOOLEAN","description":""});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}}};
}
abap.Classes['IF_WEB_HTTP_RESPONSE'] = if_web_http_response;
if_web_http_response.if_web_http_response$co_compress_none = new abap.types.Integer({qualifiedName: "I"});
if_web_http_response.if_web_http_response$co_compress_none.set(0);
if_web_http_response.if_web_http_response$co_compress_in_all_cases = new abap.types.Integer({qualifiedName: "I"});
if_web_http_response.if_web_http_response$co_compress_in_all_cases.set(1);
if_web_http_response.if_web_http_response$co_compress_based_on_mime_type = new abap.types.Integer({qualifiedName: "I"});
if_web_http_response.if_web_http_response$co_compress_based_on_mime_type.set(2);
if_web_http_response.if_web_http_response$co_formfield_encoding_raw = new abap.types.Integer({qualifiedName: "I"});
if_web_http_response.if_web_http_response$co_formfield_encoding_raw.set(1);
if_web_http_response.if_web_http_response$co_formfield_encoding_encoded = new abap.types.Integer({qualifiedName: "I"});
if_web_http_response.if_web_http_response$co_formfield_encoding_encoded.set(2);
if_web_http_response.http_status = new abap.types.Structure({
"code": new abap.types.Integer({qualifiedName: "IF_WEB_HTTP_RESPONSE=>HTTP_STATUS-CODE"}),
"reason": new abap.types.String({qualifiedName: "IF_WEB_HTTP_RESPONSE=>HTTP_STATUS-REASON"})}, "if_web_http_response=>http_status", undefined, {}, {});
export {if_web_http_response};