class ContentLengthDecideRule extends DecideRule {

    private static final long serialVersionUID = 3L;


    {
        setContentLengthThreshold(Long.MAX_VALUE);
    }
    public long getContentLengthThreshold() {
        return (Long) kp.get("contentLengthThreshold");
    }
    /**
     * Content-length threshold.  The rule returns ACCEPT if the content-length
     * is less than this threshold, or REJECT otherwise.  The default is
     * 2^63, meaning any document will be accepted.
     */
    public void setContentLengthThreshold(long threshold) {
        kp.put("contentLengthThreshold",threshold);
    }

    /**
     * Usual constructor. 
     */
    public ContentLengthDecideRule() {
    }
    
    
    protected DecideResult innerDecide(CrawlURI uri) {<FILL_FUNCTION_BODY>}

}

        if (uri.getContentLength() < getContentLengthThreshold()) {
            return DecideResult.ACCEPT;
        }
        return DecideResult.REJECT;
    
<methods>public void <init>() ,public boolean accepts(org.archive.modules.CrawlURI) ,public org.archive.modules.deciderules.DecideResult decisionFor(org.archive.modules.CrawlURI) ,public java.lang.String getComment() ,public boolean getEnabled() ,public org.archive.spring.KeyedProperties getKeyedProperties() ,public org.archive.modules.deciderules.DecideResult onlyDecision(org.archive.modules.CrawlURI) ,public void setComment(java.lang.String) ,public void setEnabled(boolean) <variables>protected java.lang.String comment,protected org.archive.spring.KeyedProperties kp