SAP ABAP Class /IWCOR/CL_REST_STATUS_CODE (REST Status Code Helper)
Hierarchy
SAP_GWFND (Software Component) SAP Gateway Foundation
   OPU-FND-CCL (Application Component) IWF Consumer Connectivity Layer
     /IWCOR/SREST_CORE (Package) REST library core
Properties
Class /IWCOR/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 /IWCOR/SREST_CORE   REST library core 
Created 20090811   SAP 
Last change 20131127   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 /IWCOR/CL_REST_STATUS_CODE has no interface implemented.
Friends
Class /IWCOR/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 20100708
2 GC_CLIENT_ERROR_CONFLICT Constant Public Type reference (TYPE) I 409 20110811
3 GC_CLIENT_ERROR_ENTITY_TOO_LAR Constant Public Type reference (TYPE) I 413 20110822
4 GC_CLIENT_ERROR_EXPECT_FAILED Constant Public Type reference (TYPE) I 417 20110822
5 GC_CLIENT_ERROR_FORBIDDEN Constant Public Type reference (TYPE) I 403 REST HTTP Status codes 20100708
6 GC_CLIENT_ERROR_GONE Constant Public Type reference (TYPE) I 410 20110822
7 GC_CLIENT_ERROR_LEN_REQUIRED Constant Public Type reference (TYPE) I 411 20110822
8 GC_CLIENT_ERROR_METH_NOT_ALLWD Constant Public Type reference (TYPE) I 405 REST HTTP Status codes 20100708
9 GC_CLIENT_ERROR_NOT_ACCEPTABLE Constant Public Type reference (TYPE) I 406 20110811
10 GC_CLIENT_ERROR_NOT_FOUND Constant Public Type reference (TYPE) I 404 REST HTTP Status codes 20100708
11 GC_CLIENT_ERROR_PAY_REQUIRED Constant Public Type reference (TYPE) I 402 20110822
12 GC_CLIENT_ERROR_PRECOND_FAILED Constant Public Type reference (TYPE) I 412 REST HTTP Status codes 20100708
13 GC_CLIENT_ERROR_PRECOND_REQRD Constant Public Type reference (TYPE) I 428 REST HTTP status codes 20111212
14 GC_CLIENT_ERROR_PROXY_AUTH_REQ Constant Public Type reference (TYPE) I 407 20110822
15 GC_CLIENT_ERROR_RANGE_NOT_SAT Constant Public Type reference (TYPE) I 416 20110822
16 GC_CLIENT_ERROR_REQ_TIME_OUT Constant Public Type reference (TYPE) I 408 20110822
17 GC_CLIENT_ERROR_UNAUTHORIZED Constant Public Type reference (TYPE) I 401 REST HTTP Status codes 20100708
18 GC_CLIENT_ERROR_UNSUP_MEDIA_TY Constant Public Type reference (TYPE) I 415 20110822
19 GC_CLIENT_ERROR_URI_TOO_LARGE Constant Public Type reference (TYPE) I 414 20110822
20 GC_INFO_CONTINUE Constant Public Type reference (TYPE) I 100 20110822
21 GC_INFO_SWITCHING_PROTOCOLS Constant Public Type reference (TYPE) I 101 20110822
22 GC_REDIRECTION_FOUND Constant Public Type reference (TYPE) I 302 20100708
23 GC_REDIRECTION_MULT_CHOICES Constant Public Type reference (TYPE) I 300 20110822
24 GC_REDIRECTION_NOT_MODIFIED Constant Public Type reference (TYPE) I 304 REST HTTP Status codes 20100708
25 GC_REDIRECTION_PERMANENT Constant Public Type reference (TYPE) I 301 REST HTTP Status codes 20100708
26 GC_REDIRECTION_SEE_OTHER Constant Public Type reference (TYPE) I 303 REST HTTP Status codes 20100708
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 20110822
29 GC_SERVER_ERROR_BAD_GATEWAY Constant Public Type reference (TYPE) I 502 20110822
30 GC_SERVER_ERROR_GW_TIME_OUT Constant Public Type reference (TYPE) I 504 20110822
31 GC_SERVER_ERROR_INTERNAL Constant Public Type reference (TYPE) I 500 REST HTTP Status codes 20100708
32 GC_SERVER_ERROR_NOT_IMPL Constant Public Type reference (TYPE) I 501 REST HTTP Status codes 20100708
33 GC_SERVER_ERROR_NOT_SUPPORTED Constant Public Type reference (TYPE) I 505 20110822
34 GC_SERVER_ERROR_SERVICE_UNA Constant Public Type reference (TYPE) I 503 REST HTTP Status codes 20100708
35 GC_SUCCESS_ACCEPTED Constant Public Type reference (TYPE) I 202 REST HTTP status codes 20110218
36 GC_SUCCESS_CREATED Constant Public Type reference (TYPE) I 201 REST HTTP Status codes 20100708
37 GC_SUCCESS_NON_AUTH_INFO Constant Public Type reference (TYPE) I 203 20110822
38 GC_SUCCESS_NO_CONTENT Constant Public Type reference (TYPE) I 204 REST HTTP Status codes 20100708
39 GC_SUCCESS_OK Constant Public Type reference (TYPE) I 200 REST HTTP Status codes 20100708
40 GC_SUCCESS_PARTIAL_CONTENT Constant Public Type reference (TYPE) I 206 20110822
41 GC_SUCCESS_RESET_CONTENT Constant Public Type reference (TYPE) I 205 20110822
Methods
# Method Level Visibility Method type Description Created on
1 GET_REASON_PHRASE Static method Public Method 20110822
2 IS_CLIENT_ERROR Static method Public Method Ist der übergebene Status Code ein Client Fehler? 20100708
3 IS_ERROR Static method Public Method Ist der übergebene Status Code ein Fehler? 20100708
4 IS_REDIRECTION Static method Public Method Ist der übergebene Status Code ein Redirect? 20100708
5 IS_SERVER_ERROR Static method Public Method Ist der übergebene Status Code ein Server Fehler? 20100708
6 IS_SUCCESS Static method Public Method Ist der übergebene Status Code ein Erfolg? 20100708
Events
Class /IWCOR/CL_REST_STATUS_CODE has no event.
Types
Class /IWCOR/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 20110822
2 Returning RV_REASON_PHRASE Value transfer Type reference (TYPE) STRING 20110822

Method GET_REASON_PHRASE on class /IWCOR/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 20100708
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL Is Client Error 20100708

Method IS_CLIENT_ERROR on class /IWCOR/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 20100708
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL Is Error 20100708

Method IS_ERROR on class /IWCOR/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 20100708
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL Is Redirection 20100708

Method IS_REDIRECTION on class /IWCOR/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 20100708
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL Is Server Error 20100708

Method IS_SERVER_ERROR on class /IWCOR/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 20100708
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL Is Success Information 20100708

Method IS_SUCCESS on class /IWCOR/CL_REST_STATUS_CODE has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in 100