SAP ABAP Class CL_REST_STATUS_CODE (REST Status Code Helper)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-MID-RST (Application Component) REST-based Protocols
⤷
SREST_CORE (Package) REST Core
⤷
⤷
Properties
| Class | CL_REST_STATUS_CODE | |
| Short Description | REST Status Code Helper | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SREST_CORE | REST Core |
| Created | 20090811 | 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_STATUS_CODE has no interface implemented.
Friends
Class CL_REST_STATUS_CODE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | 400 | REST HTTP status codes | 20090812 | ||
| 2 | Constant | Public | Type reference (TYPE) | I | 409 | 20110610 | |||
| 3 | Constant | Public | Type reference (TYPE) | I | 413 | 20110610 | |||
| 4 | Constant | Public | Type reference (TYPE) | I | 417 | 20110610 | |||
| 5 | Constant | Public | Type reference (TYPE) | I | 403 | REST HTTP status codes | 20100408 | ||
| 6 | Constant | Public | Type reference (TYPE) | I | 410 | 20110610 | |||
| 7 | Constant | Public | Type reference (TYPE) | I | 411 | 20110610 | |||
| 8 | Constant | Public | Type reference (TYPE) | I | 405 | REST HTTP status codes | 20090821 | ||
| 9 | Constant | Public | Type reference (TYPE) | I | 406 | 20110610 | |||
| 10 | Constant | Public | Type reference (TYPE) | I | 404 | REST HTTP status codes | 20090812 | ||
| 11 | Constant | Public | Type reference (TYPE) | I | 402 | 20110610 | |||
| 12 | Constant | Public | Type reference (TYPE) | I | 412 | REST HTTP status codes | 20090820 | ||
| 13 | Constant | Public | Type reference (TYPE) | I | 428 | REST HTTP status codes | 20111130 | ||
| 14 | Constant | Public | Type reference (TYPE) | I | 407 | 20110610 | |||
| 15 | Constant | Public | Type reference (TYPE) | I | 416 | 20110610 | |||
| 16 | Constant | Public | Type reference (TYPE) | I | 408 | 20110610 | |||
| 17 | Constant | Public | Type reference (TYPE) | I | 401 | REST HTTP status codes | 20090812 | ||
| 18 | Constant | Public | Type reference (TYPE) | I | 415 | 20110610 | |||
| 19 | Constant | Public | Type reference (TYPE) | I | 414 | 20110610 | |||
| 20 | Constant | Public | Type reference (TYPE) | I | 100 | 20110610 | |||
| 21 | Constant | Public | Type reference (TYPE) | I | 101 | 20110610 | |||
| 22 | Constant | Public | Type reference (TYPE) | I | 302 | 20110622 | |||
| 23 | Constant | Public | Type reference (TYPE) | I | 300 | 20110610 | |||
| 24 | Constant | Public | Type reference (TYPE) | I | 304 | REST HTTP status codes | 20090821 | ||
| 25 | Constant | Public | Type reference (TYPE) | I | 301 | REST HTTP status codes | 20090812 | ||
| 26 | Constant | Public | Type reference (TYPE) | I | 303 | REST HTTP status codes | 20090812 | ||
| 27 | Constant | Public | Type reference (TYPE) | I | 307 | REST HTTP status codes | 20100923 | ||
| 28 | Constant | Public | Type reference (TYPE) | I | 305 | 20110610 | |||
| 29 | Constant | Public | Type reference (TYPE) | I | 502 | 20110610 | |||
| 30 | Constant | Public | Type reference (TYPE) | I | 504 | 20110610 | |||
| 31 | Constant | Public | Type reference (TYPE) | I | 500 | REST HTTP status codes | 20090812 | ||
| 32 | Constant | Public | Type reference (TYPE) | I | 501 | REST HTTP status codes | 20090812 | ||
| 33 | Constant | Public | Type reference (TYPE) | I | 505 | 20110610 | |||
| 34 | Constant | Public | Type reference (TYPE) | I | 503 | REST HTTP status codes | 20090812 | ||
| 35 | Constant | Public | Type reference (TYPE) | I | 202 | REST HTTP status codes | 20101216 | ||
| 36 | Constant | Public | Type reference (TYPE) | I | 201 | REST HTTP status codes | 20090812 | ||
| 37 | Constant | Public | Type reference (TYPE) | I | 203 | 20110610 | |||
| 38 | Constant | Public | Type reference (TYPE) | I | 204 | REST HTTP status codes | 20090814 | ||
| 39 | Constant | Public | Type reference (TYPE) | I | 200 | REST HTTP status codes | 20090812 | ||
| 40 | Constant | Public | Type reference (TYPE) | I | 206 | 20110610 | |||
| 41 | Constant | Public | Type reference (TYPE) | I | 205 | 20110610 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | 20110610 | ||
| 2 | Static method | Public | Method | Ist der übergebene Status Code ein Client Fehler? | 20090812 | |
| 3 | Static method | Public | Method | Ist der übergebene Status Code ein Fehler? | 20090812 | |
| 4 | Static method | Public | Method | Ist der übergebene Status Code ein Redirect? | 20090812 | |
| 5 | Static method | Public | Method | Ist der übergebene Status Code ein Server Fehler? | 20090812 | |
| 6 | Static method | Public | Method | Ist der übergebene Status Code ein Erfolg? | 20090811 |
Events
Class CL_REST_STATUS_CODE has no event.
Types
Class CL_REST_STATUS_CODE has no local type.
Method Signatures
Method GET_REASON_PHRASE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CODE | Call by reference | Type reference (TYPE) | I | 20110610 | ||||
| 2 | RV_REASON_PHRASE | Value transfer | Type reference (TYPE) | STRING | 20110610 |
Method GET_REASON_PHRASE on class CL_REST_STATUS_CODE has no exception.
Method IS_CLIENT_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CODE | Call by reference | Type reference (TYPE) | I | REST HTTP Status Code | 20090813 | |||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Is Client Error | 20090812 |
Method IS_CLIENT_ERROR on class CL_REST_STATUS_CODE has no exception.
Method IS_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CODE | Call by reference | Type reference (TYPE) | I | REST HTTP Status Code | 20090813 | |||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Is Error | 20090812 |
Method IS_ERROR on class CL_REST_STATUS_CODE has no exception.
Method IS_REDIRECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CODE | Call by reference | Type reference (TYPE) | I | REST HTTP Status Codes | 20090813 | |||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Is Redirection | 20090812 |
Method IS_REDIRECTION on class CL_REST_STATUS_CODE has no exception.
Method IS_SERVER_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CODE | Call by reference | Type reference (TYPE) | I | REST HTTP Status Code | 20090813 | |||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Is Server Error | 20090812 |
Method IS_SERVER_ERROR on class CL_REST_STATUS_CODE has no exception.
Method IS_SUCCESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CODE | Call by reference | Type reference (TYPE) | I | REST HTTP Status Code | 20090813 | |||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Is Success Information | 20090812 |
Method IS_SUCCESS on class CL_REST_STATUS_CODE has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 701 |