public void send(Object object) {
        if (object instanceof File) {
            file((File) object);
        } else {
            send(object, getContentType());
        }
    }
public void send ( Object object ) { if ( object instanceof File ) { file ( ( File ) object ) ; } else { send ( object , getContentType ( ) ) ; } }
Serializes the object using the registered ContentTypeEngine matching
the pre-specified content-type.
<p>This method commits the response.</p>

@param object