boolean function ( Class < ? > arg0 , MediaType arg1 ) { return supports ( arg0 ) && canWrite ( arg1 ) ; }
this implementation checks if the given class is @linkplain #supports class supported , and if the @linkplain #getsupportedmediatypes supported media types @linkplain mediatype #includes mediatype include the given media type . concode_field_sep List<MediaType> supportedMediaTypes concode_elem_sep Log logger concode_elem_sep Charset defaultCharset concode_field_sep void setDefaultCharset concode_elem_sep T read concode_elem_sep boolean canRead concode_elem_sep boolean canRead concode_elem_sep void addDefaultHeaders concode_elem_sep Long getContentLength concode_elem_sep T readInternal concode_elem_sep void writeInternal concode_elem_sep MediaType getDefaultContentType concode_elem_sep Charset getDefaultCharset concode_elem_sep void setSupportedMediaTypes concode_elem_sep boolean supports concode_elem_sep void write concode_elem_sep List<MediaType> getSupportedMediaTypes