returns true if the given media type includes any of the @linkplain #setsupportedmediatypes list supported media types . concode_field_sep List<MediaType> supportedMediaTypes concode_elem_sep Log logger concode_field_sep MediaType getDefaultContentType concode_elem_sep T read concode_elem_sep boolean canRead concode_elem_sep boolean canRead concode_elem_sep void setSupportedMediaTypes concode_elem_sep void addDefaultHeaders concode_elem_sep boolean supports concode_elem_sep Long getContentLength concode_elem_sep T readInternal concode_elem_sep void write concode_elem_sep List<MediaType> getSupportedMediaTypes concode_elem_sep void writeInternal
boolean function ( MediaType arg0 ) { if ( arg0 == null || MediaType . ALL . equals ( arg0 ) ) { return true ; } for ( MediaType loc0 : getSupportedMediaTypes ( ) ) { if ( loc0 . isCompatibleWith ( arg0 ) ) { return true ; } } return false ; }