boolean function ( Message arg0 ) { Object loc0 = arg0 . getExchange ( ) . get ( "srini_string" ) ; if ( loc0 == null ) { return true ; } else { Integer loc1 = ( Integer ) arg0 . get ( Message . RESPONSE_CODE ) ; return ( loc1 != null ) && ( loc1 >= 400 ) ; } }
for rest we also consider a response to be a fault if the operation is not found or the response code is an error concode_field_sep Set<String> BINARY_CONTENT_MEDIA_TYPES concode_field_sep String getJAASPrincipal concode_elem_sep BindingOperationInfo getOperationFromContent concode_elem_sep Map<String,String> getHeaders concode_elem_sep String getOperationName concode_elem_sep void setServiceInfo concode_elem_sep String getRestOperationName concode_elem_sep void setEpInfo concode_elem_sep boolean isSOAPMessage concode_elem_sep Message getEffectiveMessage concode_elem_sep Iterator<? extends Object> getJAASPrincipals concode_elem_sep String getPrincipal concode_elem_sep EventType getEventType concode_elem_sep String getMessageId concode_elem_sep EndpointInfo getEPInfo concode_elem_sep String safeGet concode_elem_sep boolean isBinaryContent concode_elem_sep LogEvent map concode_elem_sep String getUri