int function ( MediaType arg0 , MediaType ... arg1 ) { if ( arg0 == null ) { return DEFAULT_SCORE ; } for ( MediaType loc0 : arg1 ) { if ( arg0 . matches ( loc0 ) ) { return MAXIMUM_FORMAT_SCORE ; } } return DEFAULT_SCORE ; }
calculates score based on given media type . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isPutMethod concode_elem_sep boolean isRightMethodForUnmarshall concode_elem_sep boolean isDeleteMethod concode_elem_sep boolean isPostMethod concode_elem_sep boolean isPatchMethod