public long getContentLength() {
        String lengthString = get(CONTENT_LENGTH);
        return (lengthString == null) ? -1 : Long.parseLong(lengthString);
    }
public long getContentLength() {
        String lengthString = get(CONTENT_LENGTH);
        return (lengthString == null) ? -1 : Long.parseLong(lengthString);
    }
public long getContentLength ( ) { String lengthString = get ( CONTENT_LENGTH ) ; return ( lengthString == null ) ? - 1 : Long . parseLong ( lengthString ) ; }
Get the content length in bytes of the entity body.
Return the value for the CONTENT_LENGTH key.
Returns -1 if the Content-Length has not been set.

<p>Implements the corresponding API in the interface
<code>Context</code>.</p>

@return the value for CONTENT_LENGTH
@see Context#getContentLength()
Get the content length in bytes of the entity body . Return the value for the CONTENT_LENGTH key . Returns - 1 if the Content - Length has not been set .