drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/http/client/Request.java
public long getContentLength() {
        long contentLength = super.getContentLength();
        if (contentLength != -1)
            return contentLength;
        if (requestBodyWriter == null)
            return ((RequestInputStream) is).length();
        return -1;
    }
public long getContentLength() {
        long contentLength = super.getContentLength();
        if (contentLength != -1)
            return contentLength;
        if (requestBodyWriter == null)
            return ((RequestInputStream) is).length();
        return -1;
    }
public long getContentLength ( ) { long contentLength = super . getContentLength ( ) ; if ( contentLength != - 1 ) return contentLength ; if ( requestBodyWriter == null ) return ( ( RequestInputStream ) is ) . length ( ) ; return - 1 ; }
Returns the content length of this message's body, or -1 if the
content length is unknown.

@return the content length of this message's body
Returns the content length of this message s body or - 1 if the content length is unknown .