Return-Path: Delivered-To: apmail-hc-commits-archive@www.apache.org Received: (qmail 46545 invoked from network); 23 Apr 2009 21:35:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Apr 2009 21:35:21 -0000 Received: (qmail 10566 invoked by uid 500); 23 Apr 2009 21:35:21 -0000 Delivered-To: apmail-hc-commits-archive@hc.apache.org Received: (qmail 10537 invoked by uid 500); 23 Apr 2009 21:35:21 -0000 Mailing-List: contact commits-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list commits@hc.apache.org Received: (qmail 10527 invoked by uid 99); 23 Apr 2009 21:35:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2009 21:35:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2009 21:35:20 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 163C72388A1B; Thu, 23 Apr 2009 21:35:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r768062 - in /httpcomponents/httpcore/trunk: httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/ httpcore/src/main/java/org/apache/http/protocol/ Date: Thu, 23 Apr 2009 21:34:59 -0000 To: commits@hc.apache.org From: olegk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090423213500.163C72388A1B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: olegk Date: Thu Apr 23 21:34:58 2009 New Revision: 768062 URL: http://svn.apache.org/viewvc?rev=768062&view=rev Log: Restored backward compatibility with 4.0 Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractIOReactor.java httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/BaseIOReactor.java httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/BasicHttpProcessor.java Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractIOReactor.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractIOReactor.java?rev=768062&r1=768061&r2=768062&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractIOReactor.java (original) +++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractIOReactor.java Thu Apr 23 21:34:58 2009 @@ -81,6 +81,18 @@ * @param selectTimeout the select timeout. * @throws IOReactorException in case if a non-recoverable I/O error. */ + public AbstractIOReactor(long selectTimeout) throws IOReactorException { + this(selectTimeout, false); + } + + /** + * Creates new AbstractIOReactor instance. + * + * @param selectTimeout the select timeout. + * @param interestOpsQueueing Ops queueing flag. + * + * @throws IOReactorException in case if a non-recoverable I/O error. + */ public AbstractIOReactor(long selectTimeout, boolean interestOpsQueueing) throws IOReactorException { super(); if (selectTimeout <= 0) { Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/BaseIOReactor.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/BaseIOReactor.java?rev=768062&r1=768061&r2=768062&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/BaseIOReactor.java (original) +++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/BaseIOReactor.java Thu Apr 23 21:34:58 2009 @@ -72,6 +72,18 @@ * @param selectTimeout the select timeout. * @throws IOReactorException in case if a non-recoverable I/O error. */ + public BaseIOReactor(long selectTimeout) throws IOReactorException { + this(selectTimeout, false); + } + + /** + * Creates new BaseIOReactor instance. + * + * @param selectTimeout the select timeout. + * @param interestOpsQueueing Ops queueing flag. + * + * @throws IOReactorException in case if a non-recoverable I/O error. + */ public BaseIOReactor(long selectTimeout, boolean interestOpsQueueing) throws IOReactorException { super(selectTimeout, interestOpsQueueing); this.bufferingSessions = new HashSet(); Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/BasicHttpProcessor.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/BasicHttpProcessor.java?rev=768062&r1=768061&r2=768062&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/BasicHttpProcessor.java (original) +++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/BasicHttpProcessor.java Thu Apr 23 21:34:58 2009 @@ -58,8 +58,8 @@ HttpProcessor, HttpRequestInterceptorList, HttpResponseInterceptorList, Cloneable { // Don't allow direct access, as nulls are not allowed - private final List requestInterceptors = new ArrayList(); - private final List responseInterceptors = new ArrayList(); + protected final List requestInterceptors = new ArrayList(); + protected final List responseInterceptors = new ArrayList(); // non-Javadoc, see interface HttpRequestInterceptorList public void addRequestInterceptor(final HttpRequestInterceptor itcp) {