tests whether this response indicates an error . errors are the response codes 4xx - client error and 5xx - server error . concode_field_sep Headers headers concode_elem_sep int code concode_elem_sep int majorVersion concode_elem_sep int minorVersion concode_elem_sep String message concode_elem_sep InputStream body concode_field_sep boolean isRedirect concode_elem_sep int getMajorVersion concode_elem_sep Headers getHeaders concode_elem_sep InputStream getBody concode_elem_sep int getCodeClass concode_elem_sep Date getDateHeader concode_elem_sep int getMinorVersion concode_elem_sep String getMessage concode_elem_sep int getIntHeader concode_elem_sep long getLongHeader concode_elem_sep int getCode concode_elem_sep String getHeader
boolean function ( ) { return ( getCodeClass ( ) == 4 || getCodeClass ( ) == 5 ) ; }