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 2010/03/28 11:16:33 UTC
svn commit: r928363 -
/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java
Author: olegk
Date: Sun Mar 28 09:16:33 2010
New Revision: 928363
URL: http://svn.apache.org/viewvc?rev=928363&view=rev
Log:
Restored full binary compatibility with 4.0
Modified:
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java
Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java?rev=928363&r1=928362&r2=928363&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java Sun Mar 28 09:16:33 2010
@@ -609,18 +609,38 @@ public class AsyncNHttpServiceHandler ex
return this.ioex;
}
+ @Deprecated
+ public IOException getIOExepction() {
+ return this.ioex;
+ }
+
public void setIOException(final IOException ex) {
this.ioex = ex;
}
+ @Deprecated
+ public void setIOExepction(final IOException ex) {
+ this.ioex = ex;
+ }
+
public HttpException getHttpException() {
return this.httpex;
}
+ @Deprecated
+ public HttpException getHttpExepction() {
+ return this.httpex;
+ }
+
public void setHttpException(final HttpException ex) {
this.httpex = ex;
}
+ @Deprecated
+ public void setHttpExepction(final HttpException ex) {
+ this.httpex = ex;
+ }
+
public boolean isHandled() {
return this.handled;
}
Re: svn commit: r928363 - /httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java
Posted by sebb <se...@gmail.com>.
On 28/03/2010, olegk@apache.org <ol...@apache.org> wrote:
> Author: olegk
> Date: Sun Mar 28 09:16:33 2010
> New Revision: 928363
>
> URL: http://svn.apache.org/viewvc?rev=928363&view=rev
> Log:
> Restored full binary compatibility with 4.0
>
> Modified:
> httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java
>
> Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java
> URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java?rev=928363&r1=928362&r2=928363&view=diff
> ==============================================================================
> --- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java (original)
> +++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java Sun Mar 28 09:16:33 2010
> @@ -609,18 +609,38 @@ public class AsyncNHttpServiceHandler ex
> return this.ioex;
> }
>
> + @Deprecated
Perhaps add a comment to say why it is deprecated, e.g.
@Deprecated mis-spelt, use getIOException() instead.
> + public IOException getIOExepction() {
> + return this.ioex;
> + }
> +
> public void setIOException(final IOException ex) {
> this.ioex = ex;
> }
>
> + @Deprecated
> + public void setIOExepction(final IOException ex) {
> + this.ioex = ex;
> + }
> +
> public HttpException getHttpException() {
> return this.httpex;
> }
>
> + @Deprecated
> + public HttpException getHttpExepction() {
> + return this.httpex;
> + }
> +
> public void setHttpException(final HttpException ex) {
> this.httpex = ex;
> }
>
> + @Deprecated
> + public void setHttpExepction(final HttpException ex) {
> + this.httpex = ex;
> + }
> +
> public boolean isHandled() {
> return this.handled;
> }
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org