Code example for HttpParams

Methods: getIntParameter

0
            throw new IllegalArgumentException
                ("Response factory may not be null"); 
        } 
        this.responseFactory = responseFactory;
        this.lineBuf = new CharArrayBuffer(128);
        this.maxGarbageLines = params.getIntParameter(
            ConnConnectionPNames.MAX_STATUS_LINE_GARBAGE, Integer.MAX_VALUE);
    } 
 
 
    @Override 
    protected HttpMessage parseHead(
            final SessionInputBuffer sessionBuffer) throws IOException, HttpException {
        // clear the buffer 
        this.lineBuf.clear();
        //read out the HTTP status string 
        int count = 0;
        ParserCursor cursor = null;
        do { 
            int i = sessionBuffer.readLine(this.lineBuf);
            if (i == -1 && count == 0) {