SAP ABAP Class CL_REST_COND_UTILS (REST Resource)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-MID-RST (Application Component) REST-based Protocols
⤷
SREST_UTIL (Package) REST Utility Functions

⤷

⤷

Properties
Class | CL_REST_COND_UTILS | |
Short Description | REST Resource | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SREST_UTIL | REST Utility Functions |
Created | 20111012 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_REST_COND_UTILS has no interface implemented.
Friends
Class CL_REST_COND_UTILS has no friend class.
Attributes
Class CL_REST_COND_UTILS has no attribute.
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Protected | Method | Check for If-Match | 20111012 |
2 | ![]() |
Static method | Protected | Method | Check for If-None-Match | 20111012 |
3 | ![]() |
Static method | Protected | Method | Copy Entity | 20111012 |
4 | ![]() |
Static method | Public | Method | Copy Response | 20111012 |
5 | ![]() |
Static method | Public | Method | Get Conditions | 20111012 |
6 | ![]() |
Static method | Public | Method | Handle conditions | 20111012 |
7 | ![]() |
Static method | Protected | Method | Is Multipart Entity? | 20111012 |
Events
Class CL_REST_COND_UTILS has no event.
Types
Class CL_REST_COND_UTILS has no local type.
Method Signatures
Method CHECK_IF_MATCH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_CONDITIONS | Call by reference | Type reference (TYPE) | REST_CONDITIONS | Conditions | 20111012 | ||
2 | ![]() |
IS_ETAG | Call by reference | Type reference (TYPE) | REST_ETAG_S | ETag | 20111012 | ||
3 | ![]() |
IV_EXISITING | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Conditions available | 20111012 | |
4 | ![]() |
RV_STATUS | Value transfer | Type reference (TYPE) | I | Status | 20111012 |
Method CHECK_IF_MATCH on class CL_REST_COND_UTILS has no exception.
Method CHECK_IF_NONE_MATCH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_CONDITIONS | Call by reference | Type reference (TYPE) | REST_CONDITIONS | Conditions | 20111012 | ||
2 | ![]() |
IS_ETAG | Call by reference | Type reference (TYPE) | REST_ETAG_S | ETag | 20111012 | ||
3 | ![]() |
IV_EXISITING | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Conditions available | 20111012 | |
4 | ![]() |
IV_METHOD | Call by reference | Type reference (TYPE) | STRING | HTTP Method | 20111012 | ||
5 | ![]() |
IV_MODIFICATION_DATE | Call by reference | Type reference (TYPE) | TIMESTAMP | Modification Date | 20111012 | ||
6 | ![]() |
RV_STATUS | Value transfer | Type reference (TYPE) | I | Status | 20111012 |
Method CHECK_IF_NONE_MATCH on class CL_REST_COND_UTILS has no exception.
Method COPY_ENTITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_SOURCE_ENTITY | Call by reference | Object reference (TYPE REF TO) | IF_REST_ENTITY | Source REST Entity | 20111012 | ||
2 | ![]() |
IO_TARGET_ENTITY | Call by reference | Object reference (TYPE REF TO) | IF_REST_ENTITY | Target REST Entity | 20111012 |
Method COPY_ENTITY on class CL_REST_COND_UTILS has no exception.
Method COPY_RESPONSE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_SOURCE_RESPONSE | Call by reference | Object reference (TYPE REF TO) | IF_REST_RESPONSE | Source Response | 20111012 | ||
2 | ![]() |
IO_TARGET_RESPONSE | Call by reference | Object reference (TYPE REF TO) | IF_REST_RESPONSE | Target Response | 20111012 |
Method COPY_RESPONSE on class CL_REST_COND_UTILS has no exception.
Method GET_CONDITIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_REST_REQUEST | REST Request | 20111012 | ||
2 | ![]() |
RS_CONDITIONS | Value transfer | Type reference (TYPE) | REST_CONDITIONS | Conditions | 20111012 |
Method GET_CONDITIONS on class CL_REST_COND_UTILS has no exception.
Method HANDLE_CONDITIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_CONDITIONS | Call by reference | Type reference (TYPE) | REST_CONDITIONS | REST Conditions | 20111012 | ||
2 | ![]() |
EV_STATUS_CODE | Call by reference | Type reference (TYPE) | I | Status code | 20111012 | ||
3 | ![]() |
IS_ETAG | Call by reference | Type reference (TYPE) | REST_ETAG_S | Entity tag | 20111012 | ||
4 | ![]() |
IV_EXISTING | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Resource exists | 20111012 | |
5 | ![]() |
IV_METHOD | Call by reference | Type reference (TYPE) | STRING | HTTP Method | 20111012 | ||
6 | ![]() |
IV_MODIFICATION_DATE | Call by reference | Type reference (TYPE) | TIMESTAMP | Modification date | 20111012 | ||
7 | ![]() |
IV_STATUS_CODE | Call by reference | Type reference (TYPE) | I | Status code of conditional GET request | 20111012 |
Method HANDLE_CONDITIONS on class CL_REST_COND_UTILS has no exception.
Method IS_MULTIPART 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 Entity | 20111012 | ||
2 | ![]() |
RV_IS_MULTIPART | Value transfer | Type reference (TYPE) | ABAP_BOOL | Is Multipart? | 20111012 |
Method IS_MULTIPART on class CL_REST_COND_UTILS has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 803 |