Code example for HttpParams

Methods: getIntParameter

            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);
    protected HttpMessage parseHead(
            final SessionInputBuffer sessionBuffer) throws IOException, HttpException {
        // clear the buffer 
        //read out the HTTP status string 
        int count = 0;
        ParserCursor cursor = null;
        do { 
            int i = sessionBuffer.readLine(this.lineBuf);