SAP ABAP Class CL_REST_TEST_RESOURCE (REST Simple Test Resource (Ping))
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-MID-RST (Application Component) REST-based Protocols
⤷
SREST_TEST (Package) REST Scenario Tests

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_REST_RESOURCE | REST Resource | 20090812 |
Properties
Class | CL_REST_TEST_RESOURCE | |
Short Description | REST Simple Test Resource (Ping) | |
Super Class | CL_REST_RESOURCE | REST Resource |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SREST_TEST | REST Scenario Tests |
Created | 20090812 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_REST_TEST_RESOURCE has no forward declaration.
Interfaces
Class CL_REST_TEST_RESOURCE has no interface implemented.
Friends
Class CL_REST_TEST_RESOURCE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'Foo' | REST Entity Tag | 20090826 | |
2 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'Hello from test resource' | Sample text | 20090813 | |
3 | ![]() |
Constant | Public | Type reference (TYPE) | TIMESTAMP | '20000101000000' | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | 20090826 | |
4 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | '---URI Attributes---' | URI Attributes separator | 20100216 | |
5 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | ':' | Column separator | 20100216 | |
6 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'Fragment' | Fragment name | 20100219 | |
7 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | '---Header---' | Header separator | 20100216 | |
8 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | '---URI Matrixparameter---' | URI Matrix separator | 20100218 | |
9 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | '---URI Queryparameter---' | URI query parameter separator | 20100216 | |
10 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | '---Request Body---' | Sample request body | 20100219 | |
11 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | '---Response Body---' | Sample response body | 20100219 | |
12 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | '---URI Segments---' | Segment separator | 20100708 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Method | 20100309 | |
2 | ![]() |
Static method | Public | Method | 20100803 | |
3 | ![]() |
Static method | Public | Method | 20100803 | |
4 | ![]() |
Static method | Public | Method | 20100803 | |
5 | ![]() |
Static method | Public | Method | 20100803 | |
6 | ![]() |
Static method | Public | Method | 20100803 | |
7 | ![]() |
Static method | Public | Method | Parse Response | 20100803 |
8 | ![]() |
Instance method | Private | Method | Get Request Information | 20100302 |
Events
Class CL_REST_TEST_RESOURCE has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_ECHO_RESPONSE | Public | See coding | 20100803 | BEGIN OF ty_echo_response,
values TYPE tihttpnvp,
headers TYPE tihttpnvp,
attributes TYPE tihttpnvp,
matrix_parameters TYPE tihttpnvp,
query_parameters TYPE tihttpnvp ,
uri_segments TYPE tihttpnvp,
END OF ty_echo_response
|
Method Signatures
Method COPY_TEST_HEADERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_FROM_REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_REST_REQUEST | REST Request | 20100309 | ||
2 | ![]() |
IV_TO_ENTITY | Call by reference | Object reference (TYPE REF TO) | IF_REST_ENTITY | REST Response | 20100421 |
Method COPY_TEST_HEADERS on class CL_REST_TEST_RESOURCE has no exception.
Method GET_ATTRIBUTE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_ECHO_DATA | Call by reference | Type reference (TYPE) | TY_ECHO_RESPONSE | 20100803 | |||
2 | ![]() |
IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20100803 | |||
3 | ![]() |
RV_VALUE | Value transfer | Type reference (TYPE) | STRING | 20100803 |
Method GET_ATTRIBUTE on class CL_REST_TEST_RESOURCE has no exception.
Method GET_MATRIX_PARAMETER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_ECHO_DATA | Call by reference | Type reference (TYPE) | TY_ECHO_RESPONSE | 20100803 | |||
2 | ![]() |
IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20100803 | |||
3 | ![]() |
RV_VALUE | Value transfer | Type reference (TYPE) | STRING | 20100803 |
Method GET_MATRIX_PARAMETER on class CL_REST_TEST_RESOURCE has no exception.
Method GET_QUERY_PARAMETER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_ECHO_DATA | Call by reference | Type reference (TYPE) | TY_ECHO_RESPONSE | 20100803 | |||
2 | ![]() |
IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20100803 | |||
3 | ![]() |
RV_VALUE | Value transfer | Type reference (TYPE) | STRING | 20100803 |
Method GET_QUERY_PARAMETER on class CL_REST_TEST_RESOURCE has no exception.
Method GET_REST_PATH_SEGMENTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_ECHO_DATA | Call by reference | Type reference (TYPE) | TY_ECHO_RESPONSE | 20100803 | |||
2 | ![]() |
IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20100803 | |||
3 | ![]() |
RV_VALUE | Value transfer | Type reference (TYPE) | STRING | 20100803 |
Method GET_REST_PATH_SEGMENTS on class CL_REST_TEST_RESOURCE has no exception.
Method GET_VALUE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_ECHO_DATA | Call by reference | Type reference (TYPE) | TY_ECHO_RESPONSE | 20100803 | |||
2 | ![]() |
IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20100803 | |||
3 | ![]() |
RV_VALUE | Value transfer | Type reference (TYPE) | STRING | 20100803 |
Method GET_VALUE on class CL_REST_TEST_RESOURCE has no exception.
Method PARSE_INFORMATION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_ENTITY | Call by reference | Object reference (TYPE REF TO) | IF_REST_ENTITY | REST representation | 20100803 | ||
2 | ![]() |
RS_ECHO_RESPONSE | Value transfer | Type reference (TYPE) | TY_ECHO_RESPONSE | 20100803 |
Method PARSE_INFORMATION on class CL_REST_TEST_RESOURCE has no exception.
Method PRINT_INFORMATION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_METHOD | Call by reference | Type reference (TYPE) | STRING | 20100302 | |||
2 | ![]() |
RV_TXT | Value transfer | Type reference (TYPE) | STRING | 20100302 |
Method PRINT_INFORMATION on class CL_REST_TEST_RESOURCE has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 701 |