hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r678838 - /httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/io/EofSensor.java
Date Tue, 22 Jul 2008 18:01:50 GMT
Author: olegk
Date: Tue Jul 22 11:01:49 2008
New Revision: 678838

URL: http://svn.apache.org/viewvc?rev=678838&view=rev
Log:
HTTPCORE-167: Fixed handling the end of stream (EOF) condition in the #isStale() check of
blocking HTTP connections

Added:
    httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/io/EofSensor.java
  (with props)

Added: httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/io/EofSensor.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/io/EofSensor.java?rev=678838&view=auto
==============================================================================
--- httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/io/EofSensor.java
(added)
+++ httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/io/EofSensor.java
Tue Jul 22 11:01:49 2008
@@ -0,0 +1,47 @@
+/*
+ * $HeadURL:$
+ * $Revision:$
+ * $Date:$
+ *
+ * ====================================================================
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation.  For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ *
+ */
+
+package org.apache.http.io;
+
+/**
+ * EOF sensor.
+ *
+ * @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
+ *
+ * @version $Revision:$
+ * 
+ * @since 4.0
+ */
+public interface EofSensor {
+    
+    boolean isEof();
+    
+}

Propchange: httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/io/EofSensor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/io/EofSensor.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/io/EofSensor.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message