You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2008/06/13 21:30:59 UTC
svn commit: r667624 - /httpcomponents/httpcore/trunk/RELEASE_NOTES.txt
Author: olegk
Date: Fri Jun 13 12:30:58 2008
New Revision: 667624
URL: http://svn.apache.org/viewvc?rev=667624&view=rev
Log:
Updated release notes for the 4.0-beta2 release
Modified:
httpcomponents/httpcore/trunk/RELEASE_NOTES.txt
Modified: httpcomponents/httpcore/trunk/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/RELEASE_NOTES.txt?rev=667624&r1=667623&r2=667624&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/RELEASE_NOTES.txt (original)
+++ httpcomponents/httpcore/trunk/RELEASE_NOTES.txt Fri Jun 13 12:30:58 2008
@@ -1,5 +1,15 @@
-Changes since 4.0 Beta 1
+Release 4.0 Beta 2
-------------------
+
+The second BETA version of HttpComponents Core has been released. This release
+adds a number of improvements to the NIO components, most notable being improved
+asynchronous client side and server side protocol handlers.
+
+There has been a number of important bug fixes in HttpCore NIO module, whereas
+HttpCore base module has had very few changes.
+
+All upstream projects dependent on HttpCore NIO are strongly advised to upgrade.
+
* Changed behavior of IdentityDecoder & LengthDelimitedDecoder to throw
an IOException if data is attempted to be written beyond the length
of a FileChannel. Previously would write nothing.
@@ -51,585 +61,309 @@
Contributed by Lorenzo Moretti <moznerol at hotmail.com> and
Oleg Kalnichevski <olegk at apache.org>
-Release 4.0 Beta 1
--------------------
-
-The first BETA version of HttpComponents Core has been released. This release
-can be considered a major milestone, as it marks the end of API instability
-in HttpCore. As of this release the API compatibility between minor releases
-in 4.x codeline will be maintained.
-
-This release includes several major improvements such as enhanced HTTP message
-parsing API and optimized parser implementations, Java 5.0 compatibility
-for HttpCore NIO extensions. Upstream projects are strongly encouraged to
-upgrade to the latest release.
-
-The focus of the development efforts will be gradually shifting towards
-providing better test coverage, documentation and performance optimizations.
-
-Changelog:
-----------
-
-* [HTTPCORE-141] Session request timeout in DefaultConnectingIOReactor
- invalidates the request.
- Contributed by Oleg Kalnichevski <olegk at apache.org>
-
-* [HTTPCORE-137] DefaultHttpRequestFactory extended to support all methods
- specified in RFC 2616 (except CONNECT).
- Contributed by Oleg Kalnichevski <olegk at apache.org>
-
-* Replaced HTTP parameter linking with a simple child/parent stack.
- Contributed by Oleg Kalnichevski <olegk at apache.org>
-
-* [HTTPCORE-134] all serialVersionUID attributes are private
- Contributed by Roland Weber <rolandw at apache.org>
-
-* [HTTPCORE-133] Clone support for basic HTTP message elements and
- non-streaming entities.
- Contributed by Oleg Kalnichevski <olegk at apache.org>
-
-* [HTTPCORE-127] Improved API for lifecycle management of listening I/O
- reactors. One can now suspend and resume listener endpoints.
- Contributed by Asankha C. Perera <asankha at wso2.com>
-
-* [HTTPCORE-112] DefaultConnectionReuseStrategy interprets token sequences
- Contributed by Roland Weber <rolandw at apache.org>
-
-* [HTTPCORE-122] new interface TokenIterator and basic implementation
- Contributed by Roland Weber <rolandw at apache.org>
-
-* HttpCore NIOSSL classes moved to HttpCore NIO.
- Contributed by Oleg Kalnichevski <olegk at apache.org>
-
-* HttpCore NIO ported to Java 1.5.
- Contributed by Oleg Kalnichevski <olegk at apache.org>
-
-* [HTTPCORE-130] Fixed over-synchronization bug leading to a thread deadlock
- condition in SSL IOEventDispatch implementations.
- Contributed by Oleg Kalnichevski <olegk at apache.org>
+HttpCore API changes (generated by JarDiff 0.2)
+--------------------------------------
-* [HTTPCORE-37] HttpParams beans
- Contributed by Stojce Dimski <sdmiski at yahoo.it>
+Class added:
+ public org.apache.http.entity.SerializableEntity extends org.apache.http.entity.AbstractHttpEntity
+Class added:
+ public final org.apache.http.protocol.DefaultedHttpContext extends java.lang.Object implements org.apache.http.protocol.HttpContext
+Class added:
+ public org.apache.http.protocol.UriPatternMatcher extends java.lang.Object
+Class changed: org.apache.http.message.AbstractHttpMessage
+ Fields added:
+ protected org.apache.http.message.HeaderGroup headergroup;
+ protected org.apache.http.params.HttpParams params;
-* [HTTPCORE-128] Simplified injection of custom NIO connection implementations.
- Contributed by Oleg Kalnichevski <olegk at apache.org>
+Class changed: org.apache.http.message.HeaderGroup
+ Methods added:
+ public org.apache.http.message.HeaderGroup copy();
-* [HTTPCORE-126] Improved HTTP message parsing API and optimized parser
- implementations.
- Contributed by Oleg Kalnichevski <olegk at apache.org>
+Class changed: org.apache.http.protocol.BasicHttpContext
+ Methods added:
+ public BasicHttpContext();
-* Do not include "Connection: close" to 500 responses per default.
- Contributed by Oleg Kalnichevski <olegk at apache.org>
+Class changed: org.apache.http.protocol.HttpRequestHandlerRegistry
+ Method changed:
+ old:
+ protected boolean matchUriRequestPattern(java.lang.String, java.lang.String);
-* [HTTPCORE-121] new interface HeaderElementIterator
- Contributed by Andrea Selva <selva.andrea at gmail.com>
+ new:
+ deprecated: protected boolean matchUriRequestPattern(java.lang.String, java.lang.String);
-* [HTTPCORE-123] Fixed problem with SSLSession losing buffered data, if the
- connection has been closed by the peer.
- Contributed by Risto Reinpõld <risto.reinpold at gmail.com>
+API diff generated by JarDiff http://www.osjava.org/jardiff/
+
-HttpCore API changes (generated by JarDiff 0.2)
+HttpCore NIO API changes (generated by JarDiff 0.2)
--------------------------------------
-Class removed:
- public abstract org.apache.http.params.HttpLinkedParams extends java.lang.Object implements org.apache.http.params.HttpParams
-Class removed:
- public org.apache.http.params.HttpParamsLinker extends java.lang.Object
-Class removed:
- public org.apache.http.util.HeaderGroup extends java.lang.Object
-Class removed:
- public org.apache.http.util.ListHeaderIterator extends java.lang.Object implements org.apache.http.HeaderIterator
-Class removed:
- public abstract org.apache.http.util.concurrent.Executor extends java.lang.Object
-Class removed:
- public abstract org.apache.http.util.concurrent.ThreadFactory extends java.lang.Object
Class added:
- public abstract org.apache.http.HeaderElementIterator extends java.lang.Object implements java.util.Iterator
+ public org.apache.http.nio.ContentDecoderChannel extends java.lang.Object implements java.nio.channels.ReadableByteChannel
Class added:
- public abstract org.apache.http.TokenIterator extends java.lang.Object implements java.util.Iterator
+ public org.apache.http.nio.ContentEncoderChannel extends java.lang.Object implements java.nio.channels.WritableByteChannel
Class added:
- public org.apache.http.message.BasicHeaderElementIterator extends java.lang.Object implements org.apache.http.HeaderElementIterator
+ public org.apache.http.nio.entity.BufferingNHttpEntity extends org.apache.http.entity.HttpEntityWrapper implements org.apache.http.nio.entity.ConsumingNHttpEntity
Class added:
- public org.apache.http.message.BasicListHeaderIterator extends java.lang.Object implements org.apache.http.HeaderIterator
+ public abstract org.apache.http.nio.entity.ConsumingNHttpEntity extends java.lang.Object implements org.apache.http.HttpEntity
Class added:
- public org.apache.http.message.BasicTokenIterator extends java.lang.Object implements org.apache.http.TokenIterator
+ public org.apache.http.nio.entity.ConsumingNHttpEntityTemplate extends org.apache.http.entity.HttpEntityWrapper implements org.apache.http.nio.entity.ConsumingNHttpEntity
Class added:
- public org.apache.http.message.HeaderGroup extends java.lang.Object implements java.lang.Cloneable
+ public abstract org.apache.http.nio.entity.ContentListener extends java.lang.Object
Class added:
- public org.apache.http.message.ParserCursor extends java.lang.Object
+ public org.apache.http.nio.entity.NByteArrayEntity extends org.apache.http.entity.AbstractHttpEntity implements org.apache.http.nio.entity.ProducingNHttpEntity
Class added:
- public final org.apache.http.params.DefaultedHttpParams extends org.apache.http.params.AbstractHttpParams
+ public org.apache.http.nio.entity.NFileEntity extends org.apache.http.entity.AbstractHttpEntity implements org.apache.http.nio.entity.ProducingNHttpEntity
Class added:
- public abstract org.apache.http.params.HttpAbstractParamBean extends java.lang.Object
+ public org.apache.http.nio.entity.NHttpEntityWrapper extends org.apache.http.entity.HttpEntityWrapper implements org.apache.http.nio.entity.ProducingNHttpEntity
Class added:
- public org.apache.http.params.HttpConnectionParamBean extends org.apache.http.params.HttpAbstractParamBean
+ public org.apache.http.nio.entity.NStringEntity extends org.apache.http.entity.AbstractHttpEntity implements org.apache.http.nio.entity.ProducingNHttpEntity
Class added:
- public org.apache.http.params.HttpProtocolParamBean extends org.apache.http.params.HttpAbstractParamBean
-Class changed: org.apache.http.HttpHost
- Methods added:
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
-
- Class descriptor changed:
+ public abstract org.apache.http.nio.entity.ProducingNHttpEntity extends java.lang.Object implements org.apache.http.HttpEntity
+Class added:
+ public org.apache.http.nio.entity.SkipContentListener extends java.lang.Object implements org.apache.http.nio.entity.ContentListener
+Class added:
+ public org.apache.http.nio.protocol.AsyncNHttpClientHandler extends org.apache.http.nio.protocol.NHttpHandlerBase implements org.apache.http.nio.NHttpClientHandler
+Class added:
+ public org.apache.http.nio.protocol.AsyncNHttpClientHandler.ClientConnState extends java.lang.Object
+Class added:
+ public org.apache.http.nio.protocol.AsyncNHttpServiceHandler extends org.apache.http.nio.protocol.NHttpHandlerBase implements org.apache.http.nio.NHttpServiceHandler
+Class added:
+ public org.apache.http.nio.protocol.AsyncNHttpServiceHandler.ServerConnState extends java.lang.Object
+Class added:
+ public abstract org.apache.http.nio.protocol.NHttpRequestExecutionHandler extends java.lang.Object
+Class added:
+ public abstract org.apache.http.nio.protocol.NHttpRequestHandler extends java.lang.Object
+Class added:
+ public org.apache.http.nio.protocol.NHttpRequestHandlerRegistry extends java.lang.Object implements org.apache.http.nio.protocol.NHttpRequestHandlerResolver
+Class added:
+ public abstract org.apache.http.nio.protocol.NHttpRequestHandlerResolver extends java.lang.Object
+Class added:
+ public abstract org.apache.http.nio.protocol.NHttpResponseTrigger extends java.lang.Object
+Class added:
+ public abstract org.apache.http.nio.protocol.SimpleNHttpRequestHandler extends java.lang.Object implements org.apache.http.nio.protocol.NHttpRequestHandler
+Class added:
+ public abstract org.apache.http.nio.util.BufferInfo extends java.lang.Object
+Class changed: org.apache.http.impl.nio.NHttpConnectionBase
+ Field changed:
old:
- public org.apache.http.HttpHost extends java.lang.Object
- new:
- public final org.apache.http.HttpHost extends java.lang.Object implements java.lang.Cloneable
-Class changed: org.apache.http.ProtocolVersion
- Methods added:
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
+ protected final org.apache.http.nio.reactor.IOSession session;
- Class descriptor changed:
- old:
- public org.apache.http.ProtocolVersion extends java.lang.Object implements java.io.Serializable
new:
- public org.apache.http.ProtocolVersion extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable
-Class changed: org.apache.http.entity.ByteArrayEntity
+ protected org.apache.http.nio.reactor.IOSession session;
+
+Class changed: org.apache.http.impl.nio.SSLClientIOEventDispatch
Methods added:
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
+ protected org.apache.http.impl.nio.reactor.SSLIOSession createSSLIOSession(org.apache.http.nio.reactor.IOSession, javax.net.ssl.SSLContext, org.apache.http.impl.nio.reactor.SSLIOSessionHandler);
- Fields added:
- protected final byte[] content;
+ Fields removed:
+ protected final org.apache.http.nio.util.ByteBufferAllocator allocator;
- Class descriptor changed:
- old:
- public org.apache.http.entity.ByteArrayEntity extends org.apache.http.entity.AbstractHttpEntity
- new:
- public org.apache.http.entity.ByteArrayEntity extends org.apache.http.entity.AbstractHttpEntity implements java.lang.Cloneable
-Class changed: org.apache.http.entity.FileEntity
+Class changed: org.apache.http.impl.nio.SSLServerIOEventDispatch
Methods added:
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
+ protected org.apache.http.impl.nio.reactor.SSLIOSession createSSLIOSession(org.apache.http.nio.reactor.IOSession, javax.net.ssl.SSLContext, org.apache.http.impl.nio.reactor.SSLIOSessionHandler);
- Fields added:
- protected final java.io.File file;
+ Fields removed:
+ protected final org.apache.http.nio.util.ByteBufferAllocator allocator;
- Class descriptor changed:
- old:
- public org.apache.http.entity.FileEntity extends org.apache.http.entity.AbstractHttpEntity
- new:
- public org.apache.http.entity.FileEntity extends org.apache.http.entity.AbstractHttpEntity implements java.lang.Cloneable
-Class changed: org.apache.http.entity.StringEntity
+Class changed: org.apache.http.impl.nio.reactor.SessionHandle
Methods added:
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
-
- Fields added:
- protected final byte[] content;
+ public long getLastAccessTime();
+Class changed: org.apache.http.nio.entity.ByteArrayNIOEntity
Class descriptor changed:
old:
- public org.apache.http.entity.StringEntity extends org.apache.http.entity.AbstractHttpEntity
+ public org.apache.http.nio.entity.ByteArrayNIOEntity extends org.apache.http.entity.ByteArrayEntity implements org.apache.http.nio.entity.HttpNIOEntity
new:
- public org.apache.http.entity.StringEntity extends org.apache.http.entity.AbstractHttpEntity implements java.lang.Cloneable
-Class changed: org.apache.http.impl.DefaultConnectionReuseStrategy
- Methods added:
- protected org.apache.http.TokenIterator createTokenIterator(org.apache.http.HeaderIterator);
-
-Class changed: org.apache.http.message.AbstractHttpMessage
+ deprecated: public org.apache.http.nio.entity.ByteArrayNIOEntity extends org.apache.http.entity.ByteArrayEntity implements org.apache.http.nio.entity.HttpNIOEntity
+Class changed: org.apache.http.nio.entity.ContentInputStream
Methods added:
- protected AbstractHttpMessage(org.apache.http.params.HttpParams);
-
-Class changed: org.apache.http.message.BasicHeader
- Methods added:
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
+ public void close() throws java.io.IOException;
+Class changed: org.apache.http.nio.entity.FileNIOEntity
Class descriptor changed:
old:
- public org.apache.http.message.BasicHeader extends java.lang.Object implements org.apache.http.Header
+ public org.apache.http.nio.entity.FileNIOEntity extends org.apache.http.entity.FileEntity implements org.apache.http.nio.entity.HttpNIOEntity
new:
- public org.apache.http.message.BasicHeader extends java.lang.Object implements org.apache.http.Header, java.lang.Cloneable
-Class changed: org.apache.http.message.BasicHeaderElement
- Methods removed:
- public BasicHeaderElement(org.apache.http.NameValuePair[]);
-
- Methods added:
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
-
+ deprecated: public org.apache.http.nio.entity.FileNIOEntity extends org.apache.http.entity.FileEntity implements org.apache.http.nio.entity.HttpNIOEntity
+Class changed: org.apache.http.nio.entity.HttpNIOEntity
Class descriptor changed:
old:
- public org.apache.http.message.BasicHeaderElement extends java.lang.Object implements org.apache.http.HeaderElement
+ public abstract org.apache.http.nio.entity.HttpNIOEntity extends java.lang.Object implements org.apache.http.HttpEntity
new:
- public org.apache.http.message.BasicHeaderElement extends java.lang.Object implements org.apache.http.HeaderElement, java.lang.Cloneable
-Class changed: org.apache.http.message.BasicHeaderValueParser
- Methods removed:
- protected org.apache.http.HeaderElement createHeaderElement(org.apache.http.NameValuePair[]);
- public org.apache.http.HeaderElement[] parseElements(org.apache.http.util.CharArrayBuffer, int, int);
- public org.apache.http.HeaderElement parseHeaderElement(org.apache.http.util.CharArrayBuffer, int, int);
- public org.apache.http.NameValuePair parseNameValuePair(org.apache.http.util.CharArrayBuffer, int, int);
- public org.apache.http.NameValuePair[] parseParameters(org.apache.http.util.CharArrayBuffer, int, int);
-
- Methods added:
- protected org.apache.http.HeaderElement createHeaderElement(java.lang.String, java.lang.String, org.apache.http.NameValuePair[]);
- public org.apache.http.HeaderElement[] parseElements(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
- public org.apache.http.HeaderElement parseHeaderElement(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
- public org.apache.http.NameValuePair parseNameValuePair(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
- public org.apache.http.NameValuePair parseNameValuePair(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor, char[]);
- public org.apache.http.NameValuePair[] parseParameters(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
-
-Class changed: org.apache.http.message.BasicHttpEntityEnclosingRequest
- Methods removed:
- public BasicHttpEntityEnclosingRequest(java.lang.String, java.lang.String, org.apache.http.HttpVersion);
-
- Methods added:
- public BasicHttpEntityEnclosingRequest(java.lang.String, java.lang.String, org.apache.http.ProtocolVersion);
-
-Class changed: org.apache.http.message.BasicLineParser
- Methods removed:
- protected org.apache.http.message.HeaderValueParser getHeaderValueParser();
- public boolean hasProtocolVersion(org.apache.http.util.CharArrayBuffer, int);
- public org.apache.http.ProtocolVersion parseProtocolVersion(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.ParseException;
- public org.apache.http.RequestLine parseRequestLine(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.ParseException;
- public org.apache.http.StatusLine parseStatusLine(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.ParseException;
- protected int skipWhitespace(org.apache.http.util.CharArrayBuffer, int);
-
- Methods added:
- public boolean hasProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
- public org.apache.http.ProtocolVersion parseProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
- public org.apache.http.RequestLine parseRequestLine(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
- public org.apache.http.StatusLine parseStatusLine(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
- protected void skipWhitespace(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
-
-Class changed: org.apache.http.message.BasicNameValuePair
- Methods added:
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
-
+ deprecated: public abstract org.apache.http.nio.entity.HttpNIOEntity extends java.lang.Object implements org.apache.http.HttpEntity
+Class changed: org.apache.http.nio.entity.StringNIOEntity
Class descriptor changed:
old:
- public org.apache.http.message.BasicNameValuePair extends java.lang.Object implements org.apache.http.NameValuePair
+ public org.apache.http.nio.entity.StringNIOEntity extends org.apache.http.entity.StringEntity implements org.apache.http.nio.entity.HttpNIOEntity
new:
- public org.apache.http.message.BasicNameValuePair extends java.lang.Object implements org.apache.http.NameValuePair, java.lang.Cloneable
-Class changed: org.apache.http.message.BasicRequestLine
+ deprecated: public org.apache.http.nio.entity.StringNIOEntity extends org.apache.http.entity.StringEntity implements org.apache.http.nio.entity.HttpNIOEntity
+Class changed: org.apache.http.nio.protocol.BufferingHttpClientHandler
Methods added:
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
+ public void exception(org.apache.http.nio.NHttpClientConnection, java.io.IOException);
+ public void exception(org.apache.http.nio.NHttpClientConnection, org.apache.http.HttpException);
+ public void setEventListener(org.apache.http.nio.protocol.EventListener);
Class descriptor changed:
old:
- public org.apache.http.message.BasicRequestLine extends java.lang.Object implements org.apache.http.RequestLine
+ public org.apache.http.nio.protocol.BufferingHttpClientHandler extends org.apache.http.nio.protocol.NHttpClientHandlerBase
new:
- public org.apache.http.message.BasicRequestLine extends java.lang.Object implements org.apache.http.RequestLine, java.lang.Cloneable
-Class changed: org.apache.http.message.BasicStatusLine
+ public org.apache.http.nio.protocol.BufferingHttpClientHandler extends java.lang.Object implements org.apache.http.nio.NHttpClientHandler
+Class changed: org.apache.http.nio.protocol.BufferingHttpServiceHandler
Methods added:
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
+ public void exception(org.apache.http.nio.NHttpServerConnection, java.io.IOException);
+ public void setEventListener(org.apache.http.nio.protocol.EventListener);
+ public void setExpectationVerifier(org.apache.http.protocol.HttpExpectationVerifier);
+ public void setHandlerResolver(org.apache.http.protocol.HttpRequestHandlerResolver);
+ public void timeout(org.apache.http.nio.NHttpServerConnection);
Class descriptor changed:
old:
- public org.apache.http.message.BasicStatusLine extends java.lang.Object implements org.apache.http.StatusLine
+ public org.apache.http.nio.protocol.BufferingHttpServiceHandler extends org.apache.http.nio.protocol.NHttpServiceHandlerBase implements org.apache.http.nio.NHttpServiceHandler
new:
- public org.apache.http.message.BasicStatusLine extends java.lang.Object implements org.apache.http.StatusLine, java.lang.Cloneable
-Class changed: org.apache.http.message.BufferedHeader
- Methods removed:
- public BufferedHeader(org.apache.http.util.CharArrayBuffer, org.apache.http.message.HeaderValueParser) throws org.apache.http.ParseException;
- public org.apache.http.message.HeaderValueParser getParser();
- public void setParser(org.apache.http.message.HeaderValueParser);
-
- Methods added:
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
-
+ public org.apache.http.nio.protocol.BufferingHttpServiceHandler extends java.lang.Object implements org.apache.http.nio.NHttpServiceHandler
+Class changed: org.apache.http.nio.protocol.NHttpClientHandlerBase
Class descriptor changed:
old:
- public org.apache.http.message.BufferedHeader extends java.lang.Object implements org.apache.http.FormattedHeader
+ public abstract org.apache.http.nio.protocol.NHttpClientHandlerBase extends org.apache.http.nio.protocol.NHttpHandlerBase implements org.apache.http.nio.NHttpClientHandler
new:
- public org.apache.http.message.BufferedHeader extends java.lang.Object implements org.apache.http.FormattedHeader, java.lang.Cloneable
-Class changed: org.apache.http.message.HeaderValueParser
- Methods removed:
- public abstract org.apache.http.HeaderElement[] parseElements(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.ParseException;
- public abstract org.apache.http.HeaderElement parseHeaderElement(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.ParseException;
- public abstract org.apache.http.NameValuePair parseNameValuePair(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.ParseException;
- public abstract org.apache.http.NameValuePair[] parseParameters(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.ParseException;
-
- Methods added:
- public abstract org.apache.http.HeaderElement[] parseElements(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
- public abstract org.apache.http.HeaderElement parseHeaderElement(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
- public abstract org.apache.http.NameValuePair parseNameValuePair(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
- public abstract org.apache.http.NameValuePair[] parseParameters(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
-
-Class changed: org.apache.http.message.LineParser
+ deprecated: public abstract org.apache.http.nio.protocol.NHttpClientHandlerBase extends org.apache.http.nio.protocol.NHttpHandlerBase implements org.apache.http.nio.NHttpClientHandler
+Class changed: org.apache.http.nio.protocol.NHttpHandlerBase
Methods removed:
- public abstract boolean hasProtocolVersion(org.apache.http.util.CharArrayBuffer, int);
- public abstract org.apache.http.ProtocolVersion parseProtocolVersion(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.ParseException;
- public abstract org.apache.http.RequestLine parseRequestLine(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.ParseException;
- public abstract org.apache.http.StatusLine parseStatusLine(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.ParseException;
+ protected void closeConnection(org.apache.http.HttpConnection, java.lang.Throwable);
+ protected void shutdownConnection(org.apache.http.HttpConnection, java.lang.Throwable);
Methods added:
- public abstract boolean hasProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
- public abstract org.apache.http.ProtocolVersion parseProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
- public abstract org.apache.http.RequestLine parseRequestLine(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
- public abstract org.apache.http.StatusLine parseStatusLine(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
-
-Class changed: org.apache.http.params.BasicHttpParams
- Methods removed:
- public BasicHttpParams(org.apache.http.params.HttpParams);
- public org.apache.http.params.HttpParams getDefaults();
- public void setDefaults(org.apache.http.params.HttpParams);
-
- Methods added:
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
- public boolean removeParameter(java.lang.String);
-
- Fields removed:
- protected org.apache.http.params.HttpParams defaults;
+ protected void closeConnection(org.apache.http.nio.NHttpConnection, java.lang.Throwable);
+ protected void shutdownConnection(org.apache.http.nio.NHttpConnection, java.lang.Throwable);
+Class changed: org.apache.http.nio.protocol.NHttpServiceHandlerBase
Class descriptor changed:
old:
- public org.apache.http.params.BasicHttpParams extends org.apache.http.params.AbstractHttpParams implements org.apache.http.params.HttpLinkedParams, java.io.Serializable
+ public abstract org.apache.http.nio.protocol.NHttpServiceHandlerBase extends org.apache.http.nio.protocol.NHttpHandlerBase implements org.apache.http.nio.NHttpServiceHandler
new:
- public final org.apache.http.params.BasicHttpParams extends org.apache.http.params.AbstractHttpParams implements java.io.Serializable, java.lang.Cloneable
-Class changed: org.apache.http.params.HttpParams
+ deprecated: public abstract org.apache.http.nio.protocol.NHttpServiceHandlerBase extends org.apache.http.nio.protocol.NHttpHandlerBase implements org.apache.http.nio.NHttpServiceHandler
+Class changed: org.apache.http.nio.protocol.ThrottlingHttpClientHandler
Methods removed:
- public abstract boolean isParameterSet(java.lang.String);
+ protected void shutdownConnection(org.apache.http.nio.NHttpConnection, java.lang.Throwable);
Methods added:
- public abstract boolean removeParameter(java.lang.String);
+ public void exception(org.apache.http.nio.NHttpClientConnection, java.io.IOException);
+ public void exception(org.apache.http.nio.NHttpClientConnection, org.apache.http.HttpException);
-Class changed: org.apache.http.protocol.BasicHttpProcessor
- Methods added:
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
- protected void copyInterceptors(org.apache.http.protocol.BasicHttpProcessor);
+ Fields added:
+ protected org.apache.http.nio.protocol.HttpRequestExecutionHandler execHandler;
Class descriptor changed:
old:
- public org.apache.http.protocol.BasicHttpProcessor extends java.lang.Object implements org.apache.http.protocol.HttpProcessor, org.apache.http.protocol.HttpRequestInterceptorList, org.apache.http.protocol.HttpResponseInterceptorList
+ public org.apache.http.nio.protocol.ThrottlingHttpClientHandler extends org.apache.http.nio.protocol.NHttpClientHandlerBase
new:
- public final org.apache.http.protocol.BasicHttpProcessor extends java.lang.Object implements org.apache.http.protocol.HttpProcessor, org.apache.http.protocol.HttpRequestInterceptorList, org.apache.http.protocol.HttpResponseInterceptorList, java.lang.Cloneable
-API diff generated by JarDiff http://www.osjava.org/jardiff/
-
-
-HttpCore NIO API changes (generated by JarDiff 0.2)
---------------------------------------
-
-Class removed:
- public org.apache.http.impl.nio.reactor.ChannelQueue extends java.lang.Object
-Class removed:
- public org.apache.http.impl.nio.reactor.SessionQueue extends java.lang.Object
-Class removed:
- public org.apache.http.impl.nio.reactor.SessionRequestQueue extends java.lang.Object
-Class removed:
- public org.apache.http.impl.nio.reactor.SessionSet extends java.lang.Object
-Class added:
- public org.apache.http.impl.nio.SSLClientIOEventDispatch extends java.lang.Object implements org.apache.http.nio.reactor.IOEventDispatch
-Class added:
- public org.apache.http.impl.nio.SSLServerIOEventDispatch extends java.lang.Object implements org.apache.http.nio.reactor.IOEventDispatch
-Class added:
- public abstract org.apache.http.impl.nio.reactor.ListenerEndpointClosedCallback extends java.lang.Object
-Class added:
- public org.apache.http.impl.nio.reactor.ListenerEndpointImpl extends java.lang.Object implements org.apache.http.nio.reactor.ListenerEndpoint
-Class added:
- public org.apache.http.impl.nio.reactor.SSLIOSession extends java.lang.Object implements org.apache.http.nio.reactor.IOSession, org.apache.http.nio.reactor.SessionBufferStatus
-Class added:
- public abstract org.apache.http.impl.nio.reactor.SSLIOSessionHandler extends java.lang.Object
-Class added:
- public final org.apache.http.impl.nio.reactor.SSLMode extends java.lang.Enum
-Class added:
- public abstract org.apache.http.nio.NHttpClientIOTarget extends java.lang.Object implements org.apache.http.nio.NHttpClientConnection
-Class added:
- public abstract org.apache.http.nio.NHttpServerIOTarget extends java.lang.Object implements org.apache.http.nio.NHttpServerConnection
-Class added:
- public org.apache.http.nio.entity.ByteArrayNIOEntity extends org.apache.http.entity.ByteArrayEntity implements org.apache.http.nio.entity.HttpNIOEntity
-Class added:
- public org.apache.http.nio.entity.FileNIOEntity extends org.apache.http.entity.FileEntity implements org.apache.http.nio.entity.HttpNIOEntity
-Class added:
- public abstract org.apache.http.nio.entity.HttpNIOEntity extends java.lang.Object implements org.apache.http.HttpEntity
-Class added:
- public org.apache.http.nio.entity.StringNIOEntity extends org.apache.http.entity.StringEntity implements org.apache.http.nio.entity.HttpNIOEntity
-Class added:
- public org.apache.http.nio.params.NIOReactorParamBean extends org.apache.http.params.HttpAbstractParamBean
-Class added:
- public final org.apache.http.nio.reactor.IOReactorStatus extends java.lang.Enum
-Class added:
- public abstract org.apache.http.nio.reactor.ListenerEndpoint extends java.lang.Object
-Class changed: org.apache.http.impl.nio.DefaultClientIOEventDispatch
- Methods removed:
- public DefaultClientIOEventDispatch(org.apache.http.nio.NHttpClientHandler, org.apache.http.nio.util.ByteBufferAllocator, org.apache.http.params.HttpParams);
-
+ public org.apache.http.nio.protocol.ThrottlingHttpClientHandler extends org.apache.http.nio.protocol.NHttpHandlerBase implements org.apache.http.nio.NHttpClientHandler
+Class changed: org.apache.http.nio.protocol.ThrottlingHttpServiceHandler
Methods added:
- protected org.apache.http.nio.util.ByteBufferAllocator createByteBufferAllocator();
- protected org.apache.http.nio.NHttpClientIOTarget createConnection(org.apache.http.nio.reactor.IOSession);
- protected org.apache.http.HttpResponseFactory createHttpResponseFactory();
+ public void exception(org.apache.http.nio.NHttpServerConnection, java.io.IOException);
+ public void setExpectationVerifier(org.apache.http.protocol.HttpExpectationVerifier);
+ public void setHandlerResolver(org.apache.http.protocol.HttpRequestHandlerResolver);
+ public void timeout(org.apache.http.nio.NHttpServerConnection);
Fields added:
- protected final org.apache.http.nio.util.ByteBufferAllocator allocator;
- protected final org.apache.http.nio.NHttpClientHandler handler;
- protected final org.apache.http.params.HttpParams params;
+ protected org.apache.http.protocol.HttpExpectationVerifier expectationVerifier;
+ protected org.apache.http.protocol.HttpRequestHandlerResolver handlerResolver;
+ protected final org.apache.http.HttpResponseFactory responseFactory;
-Class changed: org.apache.http.impl.nio.DefaultNHttpClientConnection
Class descriptor changed:
old:
- public org.apache.http.impl.nio.DefaultNHttpClientConnection extends org.apache.http.impl.nio.NHttpConnectionBase implements org.apache.http.nio.NHttpClientConnection
+ public org.apache.http.nio.protocol.ThrottlingHttpServiceHandler extends org.apache.http.nio.protocol.NHttpServiceHandlerBase
new:
- public org.apache.http.impl.nio.DefaultNHttpClientConnection extends org.apache.http.impl.nio.NHttpConnectionBase implements org.apache.http.nio.NHttpClientIOTarget
-Class changed: org.apache.http.impl.nio.DefaultNHttpServerConnection
+ public org.apache.http.nio.protocol.ThrottlingHttpServiceHandler extends org.apache.http.nio.protocol.NHttpHandlerBase implements org.apache.http.nio.NHttpServiceHandler
+Class changed: org.apache.http.nio.util.ExpandableBuffer
+ Methods added:
+ public int available();
+
Class descriptor changed:
old:
- public org.apache.http.impl.nio.DefaultNHttpServerConnection extends org.apache.http.impl.nio.NHttpConnectionBase implements org.apache.http.nio.NHttpServerConnection
+ public org.apache.http.nio.util.ExpandableBuffer extends java.lang.Object
new:
- public org.apache.http.impl.nio.DefaultNHttpServerConnection extends org.apache.http.impl.nio.NHttpConnectionBase implements org.apache.http.nio.NHttpServerIOTarget
-Class changed: org.apache.http.impl.nio.DefaultServerIOEventDispatch
- Methods removed:
- public DefaultServerIOEventDispatch(org.apache.http.nio.NHttpServiceHandler, org.apache.http.nio.util.ByteBufferAllocator, org.apache.http.params.HttpParams);
-
- Methods added:
- protected org.apache.http.nio.util.ByteBufferAllocator createByteBufferAllocator();
- protected org.apache.http.nio.NHttpServerIOTarget createConnection(org.apache.http.nio.reactor.IOSession);
- protected org.apache.http.HttpRequestFactory createHttpRequestFactory();
-
- Fields added:
- protected final org.apache.http.nio.util.ByteBufferAllocator allocator;
- protected final org.apache.http.nio.NHttpServiceHandler handler;
- protected final org.apache.http.params.HttpParams params;
-
-Class changed: org.apache.http.impl.nio.codecs.IdentityDecoder
- Methods removed:
- public long read(java.nio.channels.FileChannel, long, long) throws java.io.IOException;
-
- Methods added:
- public long transfer(java.nio.channels.FileChannel, long, long) throws java.io.IOException;
-
-Class changed: org.apache.http.impl.nio.codecs.IdentityEncoder
- Methods removed:
- public long write(java.nio.channels.FileChannel, long, long) throws java.io.IOException;
-
- Methods added:
- public long transfer(java.nio.channels.FileChannel, long, long) throws java.io.IOException;
-
-Class changed: org.apache.http.impl.nio.codecs.LengthDelimitedDecoder
- Methods removed:
- public long read(java.nio.channels.FileChannel, long, long) throws java.io.IOException;
-
- Methods added:
- public long transfer(java.nio.channels.FileChannel, long, long) throws java.io.IOException;
-
-Class changed: org.apache.http.impl.nio.codecs.LengthDelimitedEncoder
- Methods removed:
- public long write(java.nio.channels.FileChannel, long, long) throws java.io.IOException;
-
- Methods added:
- public long transfer(java.nio.channels.FileChannel, long, long) throws java.io.IOException;
-
-Class changed: org.apache.http.impl.nio.reactor.AbstractIOReactor
- Methods removed:
- public int getStatus();
-
- Methods added:
- public org.apache.http.nio.reactor.IOReactorStatus getStatus();
-
-Class changed: org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor
- Methods removed:
- public AbstractMultiworkerIOReactor(int, org.apache.http.util.concurrent.ThreadFactory, org.apache.http.params.HttpParams) throws org.apache.http.nio.reactor.IOReactorException;
- public int getStatus();
-
- Methods added:
- public AbstractMultiworkerIOReactor(int, java.util.concurrent.ThreadFactory, org.apache.http.params.HttpParams) throws org.apache.http.nio.reactor.IOReactorException;
- protected void awaitShutdown(long) throws java.lang.InterruptedException;
- protected abstract void cancelRequests() throws org.apache.http.nio.reactor.IOReactorException;
- protected void doShutdown() throws java.io.IOException;
- public org.apache.http.nio.reactor.IOReactorStatus getStatus();
+ public org.apache.http.nio.util.ExpandableBuffer extends java.lang.Object implements org.apache.http.nio.util.BufferInfo
+API diff generated by JarDiff http://www.osjava.org/jardiff/
-Class changed: org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor
- Methods removed:
- public DefaultConnectingIOReactor(int, org.apache.http.util.concurrent.ThreadFactory, org.apache.http.params.HttpParams) throws org.apache.http.nio.reactor.IOReactorException;
- Methods added:
- public DefaultConnectingIOReactor(int, java.util.concurrent.ThreadFactory, org.apache.http.params.HttpParams) throws org.apache.http.nio.reactor.IOReactorException;
- protected void cancelRequests() throws org.apache.http.nio.reactor.IOReactorException;
-
-Class changed: org.apache.http.impl.nio.reactor.DefaultListeningIOReactor
- Methods removed:
- public DefaultListeningIOReactor(int, org.apache.http.util.concurrent.ThreadFactory, org.apache.http.params.HttpParams) throws org.apache.http.nio.reactor.IOReactorException;
- public java.net.SocketAddress listen(java.net.SocketAddress) throws java.io.IOException;
+Release 4.0 Beta 1
+-------------------
- Methods added:
- public DefaultListeningIOReactor(int, java.util.concurrent.ThreadFactory, org.apache.http.params.HttpParams) throws org.apache.http.nio.reactor.IOReactorException;
- protected void cancelRequests() throws org.apache.http.nio.reactor.IOReactorException;
- public java.util.Set getEndpoints();
- public org.apache.http.nio.reactor.ListenerEndpoint listen(java.net.SocketAddress);
- public void pause() throws java.io.IOException;
- public void resume() throws java.io.IOException;
+The first BETA version of HttpComponents Core has been released. This release
+can be considered a major milestone, as it marks the end of API instability
+in HttpCore. As of this release the API compatibility between minor releases
+in 4.x codeline will be maintained.
-Class changed: org.apache.http.impl.nio.reactor.SessionInputBufferImpl
- Methods added:
- public int read(java.nio.channels.WritableByteChannel) throws java.io.IOException;
- public int read(java.nio.channels.WritableByteChannel, int) throws java.io.IOException;
+This release includes several major improvements such as enhanced HTTP message
+parsing API and optimized parser implementations, Java 5.0 compatibility
+for HttpCore NIO extensions. Upstream projects are strongly encouraged to
+upgrade to the latest release.
-Class changed: org.apache.http.impl.nio.reactor.SessionOutputBufferImpl
- Methods added:
- public void write(java.nio.channels.ReadableByteChannel) throws java.io.IOException;
+The focus of the development efforts will be gradually shifting towards
+providing better test coverage, documentation and performance optimizations.
-Class changed: org.apache.http.nio.FileContentDecoder
- Methods removed:
- public abstract long read(java.nio.channels.FileChannel, long, long) throws java.io.IOException;
+Changelog:
+----------
- Methods added:
- public abstract long transfer(java.nio.channels.FileChannel, long, long) throws java.io.IOException;
+* [HTTPCORE-141] Session request timeout in DefaultConnectingIOReactor
+ invalidates the request.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
-Class changed: org.apache.http.nio.FileContentEncoder
- Methods removed:
- public abstract long write(java.nio.channels.FileChannel, long, long) throws java.io.IOException;
+* [HTTPCORE-137] DefaultHttpRequestFactory extended to support all methods
+ specified in RFC 2616 (except CONNECT).
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
- Methods added:
- public abstract long transfer(java.nio.channels.FileChannel, long, long) throws java.io.IOException;
+* Replaced HTTP parameter linking with a simple child/parent stack.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
-Class changed: org.apache.http.nio.params.NIOReactorPNames
- Fields added:
- public final static java.lang.String GRACE_PERIOD = http.nio.grace-period;
+* [HTTPCORE-134] all serialVersionUID attributes are private
+ Contributed by Roland Weber <rolandw at apache.org>
-Class changed: org.apache.http.nio.params.NIOReactorParams
- Methods added:
- public static long getGracePeriod(org.apache.http.params.HttpParams);
- public static void setGracePeriod(org.apache.http.params.HttpParams, long);
+* [HTTPCORE-133] Clone support for basic HTTP message elements and
+ non-streaming entities.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
-Class changed: org.apache.http.nio.protocol.ThrottlingHttpClientHandler
- Methods removed:
- public ThrottlingHttpClientHandler(org.apache.http.protocol.HttpProcessor, org.apache.http.nio.protocol.HttpRequestExecutionHandler, org.apache.http.ConnectionReuseStrategy, org.apache.http.nio.util.ByteBufferAllocator, org.apache.http.util.concurrent.Executor, org.apache.http.params.HttpParams);
- public ThrottlingHttpClientHandler(org.apache.http.protocol.HttpProcessor, org.apache.http.nio.protocol.HttpRequestExecutionHandler, org.apache.http.ConnectionReuseStrategy, org.apache.http.util.concurrent.Executor, org.apache.http.params.HttpParams);
+* [HTTPCORE-127] Improved API for lifecycle management of listening I/O
+ reactors. One can now suspend and resume listener endpoints.
+ Contributed by Asankha C. Perera <asankha at wso2.com>
- Methods added:
- public ThrottlingHttpClientHandler(org.apache.http.protocol.HttpProcessor, org.apache.http.nio.protocol.HttpRequestExecutionHandler, org.apache.http.ConnectionReuseStrategy, java.util.concurrent.Executor, org.apache.http.params.HttpParams);
- public ThrottlingHttpClientHandler(org.apache.http.protocol.HttpProcessor, org.apache.http.nio.protocol.HttpRequestExecutionHandler, org.apache.http.ConnectionReuseStrategy, org.apache.http.nio.util.ByteBufferAllocator, java.util.concurrent.Executor, org.apache.http.params.HttpParams);
+* [HTTPCORE-112] DefaultConnectionReuseStrategy interprets token sequences
+ Contributed by Roland Weber <rolandw at apache.org>
-Class changed: org.apache.http.nio.protocol.ThrottlingHttpServiceHandler
- Methods removed:
- public ThrottlingHttpServiceHandler(org.apache.http.protocol.HttpProcessor, org.apache.http.HttpResponseFactory, org.apache.http.ConnectionReuseStrategy, org.apache.http.nio.util.ByteBufferAllocator, org.apache.http.util.concurrent.Executor, org.apache.http.params.HttpParams);
- public ThrottlingHttpServiceHandler(org.apache.http.protocol.HttpProcessor, org.apache.http.HttpResponseFactory, org.apache.http.ConnectionReuseStrategy, org.apache.http.util.concurrent.Executor, org.apache.http.params.HttpParams);
+* [HTTPCORE-122] new interface TokenIterator and basic implementation
+ Contributed by Roland Weber <rolandw at apache.org>
- Methods added:
- public ThrottlingHttpServiceHandler(org.apache.http.protocol.HttpProcessor, org.apache.http.HttpResponseFactory, org.apache.http.ConnectionReuseStrategy, java.util.concurrent.Executor, org.apache.http.params.HttpParams);
- public ThrottlingHttpServiceHandler(org.apache.http.protocol.HttpProcessor, org.apache.http.HttpResponseFactory, org.apache.http.ConnectionReuseStrategy, org.apache.http.nio.util.ByteBufferAllocator, java.util.concurrent.Executor, org.apache.http.params.HttpParams);
+* HttpCore NIOSSL classes moved to HttpCore NIO.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
-Class changed: org.apache.http.nio.reactor.IOReactor
- Methods removed:
- public abstract int getStatus();
+* HttpCore NIO ported to Java 1.5.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
- Methods added:
- public abstract org.apache.http.nio.reactor.IOReactorStatus getStatus();
+* [HTTPCORE-130] Fixed over-synchronization bug leading to a thread deadlock
+ condition in SSL IOEventDispatch implementations.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
- Fields removed:
- public final static int ACTIVE = 1;
- public final static int INACTIVE = 0;
- public final static int SHUTTING_DOWN = 2;
- public final static int SHUT_DOWN = 3;
+* [HTTPCORE-37] HttpParams beans
+ Contributed by Stojce Dimski <sdmiski at yahoo.it>
-Class changed: org.apache.http.nio.reactor.ListeningIOReactor
- Methods removed:
- public abstract java.net.SocketAddress listen(java.net.SocketAddress) throws java.io.IOException;
+* [HTTPCORE-128] Simplified injection of custom NIO connection implementations.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
- Methods added:
- public abstract java.util.Set getEndpoints();
- public abstract org.apache.http.nio.reactor.ListenerEndpoint listen(java.net.SocketAddress);
- public abstract void pause() throws java.io.IOException;
- public abstract void resume() throws java.io.IOException;
+* [HTTPCORE-126] Improved HTTP message parsing API and optimized parser
+ implementations.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
-Class changed: org.apache.http.nio.reactor.SessionInputBuffer
- Methods added:
- public abstract int read(java.nio.channels.WritableByteChannel) throws java.io.IOException;
- public abstract int read(java.nio.channels.WritableByteChannel, int) throws java.io.IOException;
+* Do not include "Connection: close" to 500 responses per default.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
-Class changed: org.apache.http.nio.reactor.SessionOutputBuffer
- Methods added:
- public abstract void write(java.nio.channels.ReadableByteChannel) throws java.io.IOException;
+* [HTTPCORE-121] new interface HeaderElementIterator
+ Contributed by Andrea Selva <selva.andrea at gmail.com>
-Class changed: org.apache.http.nio.util.ExpandableBuffer
- Methods added:
- public java.lang.String toString();
+* [HTTPCORE-123] Fixed problem with SSLSession losing buffered data, if the
+ connection has been closed by the peer.
+ Contributed by Risto Reinpõld <risto.reinpold at gmail.com>
-API diff generated by JarDiff http://www.osjava.org/jardiff/
Release 4.0 Alpha 6