class ApplicationProviderBinder extends ProviderBinder {

    @Override
    public <T> MessageBodyWriter<T> getMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) {
        MessageBodyWriter<T> writer = doGetMessageBodyWriter(type, genericType, annotations, mediaType);
        if (writer == null) {
            writer = getDefaults().getMessageBodyWriter(type, genericType, annotations, mediaType);
        }
        return writer;
    }

}