MediaType function ( T arg0 ) { List < MediaType > loc0 = getSupportedMediaTypes ( ) ; return ( ! loc0 . isEmpty ( ) ? loc0 . get ( 0 ) : null ) ; }
returns the default content type for the given type . called when #write is invoked without a specified content type parameter . by default , this returns the first element of the #setsupportedmediatypes list supportedmediatypes property , if any.can be overridden in subclasses . concode_field_sep List<MediaType> supportedMediaTypes concode_elem_sep Log logger concode_field_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 boolean canWrite concode_elem_sep boolean canWrite 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