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
⤷ 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 | ABAP | 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 | GC_CLIENT_ERROR_BAD_REQUEST | Constant | Public | Type reference (TYPE) | I | 400 | REST HTTP status codes | 20090812 | |
2 | GC_CLIENT_ERROR_CONFLICT | Constant | Public | Type reference (TYPE) | I | 409 | 20110610 | ||
3 | GC_CLIENT_ERROR_ENTITY_TOO_LAR | Constant | Public | Type reference (TYPE) | I | 413 | 20110610 | ||
4 | GC_CLIENT_ERROR_EXPECT_FAILED | Constant | Public | Type reference (TYPE) | I | 417 | 20110610 | ||
5 | GC_CLIENT_ERROR_FORBIDDEN | Constant | Public | Type reference (TYPE) | I | 403 | REST HTTP status codes | 20100408 | |
6 | GC_CLIENT_ERROR_GONE | Constant | Public | Type reference (TYPE) | I | 410 | 20110610 | ||
7 | GC_CLIENT_ERROR_LEN_REQUIRED | Constant | Public | Type reference (TYPE) | I | 411 | 20110610 | ||
8 | GC_CLIENT_ERROR_METH_NOT_ALLWD | Constant | Public | Type reference (TYPE) | I | 405 | REST HTTP status codes | 20090821 | |
9 | GC_CLIENT_ERROR_NOT_ACCEPTABLE | Constant | Public | Type reference (TYPE) | I | 406 | 20110610 | ||
10 | GC_CLIENT_ERROR_NOT_FOUND | Constant | Public | Type reference (TYPE) | I | 404 | REST HTTP status codes | 20090812 | |
11 | GC_CLIENT_ERROR_PAY_REQUIRED | Constant | Public | Type reference (TYPE) | I | 402 | 20110610 | ||
12 | GC_CLIENT_ERROR_PRECOND_FAILED | Constant | Public | Type reference (TYPE) | I | 412 | REST HTTP status codes | 20090820 | |
13 | GC_CLIENT_ERROR_PRECOND_REQRD | Constant | Public | Type reference (TYPE) | I | 428 | REST HTTP status codes | 20111130 | |
14 | GC_CLIENT_ERROR_PROXY_AUTH_REQ | Constant | Public | Type reference (TYPE) | I | 407 | 20110610 | ||
15 | GC_CLIENT_ERROR_RANGE_NOT_SAT | Constant | Public | Type reference (TYPE) | I | 416 | 20110610 | ||
16 | GC_CLIENT_ERROR_REQ_TIME_OUT | Constant | Public | Type reference (TYPE) | I | 408 | 20110610 | ||
17 | GC_CLIENT_ERROR_UNAUTHORIZED | Constant | Public | Type reference (TYPE) | I | 401 | REST HTTP status codes | 20090812 | |
18 | GC_CLIENT_ERROR_UNSUP_MEDIA_TY | Constant | Public | Type reference (TYPE) | I | 415 | 20110610 | ||
19 | GC_CLIENT_ERROR_URI_TOO_LARGE | Constant | Public | Type reference (TYPE) | I | 414 | 20110610 | ||
20 | GC_INFO_CONTINUE | Constant | Public | Type reference (TYPE) | I | 100 | 20110610 | ||
21 | GC_INFO_SWITCHING_PROTOCOLS | Constant | Public | Type reference (TYPE) | I | 101 | 20110610 | ||
22 | GC_REDIRECTION_FOUND | Constant | Public | Type reference (TYPE) | I | 302 | 20110622 | ||
23 | GC_REDIRECTION_MULT_CHOICES | Constant | Public | Type reference (TYPE) | I | 300 | 20110610 | ||
24 | GC_REDIRECTION_NOT_MODIFIED | Constant | Public | Type reference (TYPE) | I | 304 | REST HTTP status codes | 20090821 | |
25 | GC_REDIRECTION_PERMANENT | Constant | Public | Type reference (TYPE) | I | 301 | REST HTTP status codes | 20090812 | |
26 | GC_REDIRECTION_SEE_OTHER | Constant | Public | Type reference (TYPE) | I | 303 | REST HTTP status codes | 20090812 | |
27 | GC_REDIRECTION_TEMPORARY | Constant | Public | Type reference (TYPE) | I | 307 | REST HTTP status codes | 20100923 | |
28 | GC_REDIRECTION_USE_PROXY | Constant | Public | Type reference (TYPE) | I | 305 | 20110610 | ||
29 | GC_SERVER_ERROR_BAD_GATEWAY | Constant | Public | Type reference (TYPE) | I | 502 | 20110610 | ||
30 | GC_SERVER_ERROR_GW_TIME_OUT | Constant | Public | Type reference (TYPE) | I | 504 | 20110610 | ||
31 | GC_SERVER_ERROR_INTERNAL | Constant | Public | Type reference (TYPE) | I | 500 | REST HTTP status codes | 20090812 | |
32 | GC_SERVER_ERROR_NOT_IMPL | Constant | Public | Type reference (TYPE) | I | 501 | REST HTTP status codes | 20090812 | |
33 | GC_SERVER_ERROR_NOT_SUPPORTED | Constant | Public | Type reference (TYPE) | I | 505 | 20110610 | ||
34 | GC_SERVER_ERROR_SERVICE_UNA | Constant | Public | Type reference (TYPE) | I | 503 | REST HTTP status codes | 20090812 | |
35 | GC_SUCCESS_ACCEPTED | Constant | Public | Type reference (TYPE) | I | 202 | REST HTTP status codes | 20101216 | |
36 | GC_SUCCESS_CREATED | Constant | Public | Type reference (TYPE) | I | 201 | REST HTTP status codes | 20090812 | |
37 | GC_SUCCESS_NON_AUTH_INFO | Constant | Public | Type reference (TYPE) | I | 203 | 20110610 | ||
38 | GC_SUCCESS_NO_CONTENT | Constant | Public | Type reference (TYPE) | I | 204 | REST HTTP status codes | 20090814 | |
39 | GC_SUCCESS_OK | Constant | Public | Type reference (TYPE) | I | 200 | REST HTTP status codes | 20090812 | |
40 | GC_SUCCESS_PARTIAL_CONTENT | Constant | Public | Type reference (TYPE) | I | 206 | 20110610 | ||
41 | GC_SUCCESS_RESET_CONTENT | Constant | Public | Type reference (TYPE) | I | 205 | 20110610 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | GET_REASON_PHRASE | Static method | Public | Method | 20110610 | |
2 | IS_CLIENT_ERROR | Static method | Public | Method | Ist der übergebene Status Code ein Client Fehler? | 20090812 |
3 | IS_ERROR | Static method | Public | Method | Ist der übergebene Status Code ein Fehler? | 20090812 |
4 | IS_REDIRECTION | Static method | Public | Method | Ist der übergebene Status Code ein Redirect? | 20090812 |
5 | IS_SERVER_ERROR | Static method | Public | Method | Ist der übergebene Status Code ein Server Fehler? | 20090812 |
6 | IS_SUCCESS | 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 | Importing | IV_CODE | Call by reference | Type reference (TYPE) | I | 20110610 | |||
2 | Returning | 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 | Importing | IV_CODE | Call by reference | Type reference (TYPE) | I | REST HTTP Status Code | 20090813 | ||
2 | Returning | 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 | Importing | IV_CODE | Call by reference | Type reference (TYPE) | I | REST HTTP Status Code | 20090813 | ||
2 | Returning | 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 | Importing | IV_CODE | Call by reference | Type reference (TYPE) | I | REST HTTP Status Codes | 20090813 | ||
2 | Returning | 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 | Importing | IV_CODE | Call by reference | Type reference (TYPE) | I | REST HTTP Status Code | 20090813 | ||
2 | Returning | 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 | Importing | IV_CODE | Call by reference | Type reference (TYPE) | I | REST HTTP Status Code | 20090813 | ||
2 | Returning | 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 |