@SuppressWarnings({"rawtypes", "unchecked"})
    public HeadObjectOutput headObject(String objectName, HeadObjectInput input)
            throws QSException {

        if (input == null) {
            input = new HeadObjectInput();
        }

        RequestHandler requestHandler = this.headObjectRequest(objectName, input);

        OutputModel backModel = requestHandler.send();
        if (backModel != null) {
            return (HeadObjectOutput) backModel;
        }
        return null;
    }
@ SuppressWarnings ( { "rawtypes" , "unchecked" } ) public HeadObjectOutput headObject ( String objectName , HeadObjectInput input ) throws QSException { if ( input == null ) { input = new HeadObjectInput ( ) ; } RequestHandler requestHandler = this . headObjectRequest ( objectName , input ) ; OutputModel backModel = requestHandler . send ( ) ; if ( backModel != null ) { return ( HeadObjectOutput ) backModel ; } return null ; }
@param objectName name of the object
@param input input
@throws QSException exception
@return HeadObjectOutput output stream Documentation URL: <a
href="https://docs.qingcloud.com/qingstor/api/object/head.html">
https://docs.qingcloud.com/qingstor/api/object/head.html </a>