Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
slandelle committed Jul 7, 2015
1 parent 1d965bb commit e9d13ec
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Expand Up @@ -96,7 +96,7 @@ public State onHeadersWritten() {
* *
* @return a {@link org.asynchttpclient.AsyncHandler.State} telling to CONTINUE or ABORT the current processing. * @return a {@link org.asynchttpclient.AsyncHandler.State} telling to CONTINUE or ABORT the current processing.
*/ */
public State onContentWriten() { public State onContentWritten() {
return State.CONTINUE; return State.CONTINUE;
} }


Expand Down
Expand Up @@ -35,7 +35,7 @@ public interface ProgressAsyncHandler<T> extends AsyncHandler<T> {
* *
* @return a {@link AsyncHandler.State} telling to CONTINUE or ABORT the current processing. * @return a {@link AsyncHandler.State} telling to CONTINUE or ABORT the current processing.
*/ */
State onContentWriten(); State onContentWritten();


/** /**
* Invoked when the I/O operation associated with the {@link Request} body wasn't fully written in a single I/O write * Invoked when the I/O operation associated with the {@link Request} body wasn't fully written in a single I/O write
Expand Down
Expand Up @@ -711,8 +711,8 @@ public AsyncHandler.State onHeadersWritten() {
return delegate.onHeadersWritten(); return delegate.onHeadersWritten();
} }


public AsyncHandler.State onContentWriten() { public AsyncHandler.State onContentWritten() {
return delegate.onContentWriten(); return delegate.onContentWritten();
} }


public AsyncHandler.State onContentWriteProgress(long amount, long current, long total) { public AsyncHandler.State onContentWriteProgress(long amount, long current, long total) {
Expand Down
Expand Up @@ -81,7 +81,7 @@ public State onHeadersWritten() {
return State.CONTINUE; return State.CONTINUE;
} }


public State onContentWriten() { public State onContentWritten() {
operationCompleted.set(true); operationCompleted.set(true);
return State.CONTINUE; return State.CONTINUE;
} }
Expand Down
Expand Up @@ -64,9 +64,9 @@ public State onHeadersWritten() {
} }


@Override @Override
public State onContentWriten() { public State onContentWritten() {
firedEvents.add("ContentWritten"); firedEvents.add("ContentWritten");
return super.onContentWriten(); return super.onContentWritten();
} }


@Override @Override
Expand Down
Expand Up @@ -79,7 +79,7 @@ public void operationComplete(ChannelFuture cf) {
if (notifyHeaders) { if (notifyHeaders) {
ProgressAsyncHandler.class.cast(asyncHandler).onHeadersWritten(); ProgressAsyncHandler.class.cast(asyncHandler).onHeadersWritten();
} else { } else {
ProgressAsyncHandler.class.cast(asyncHandler).onContentWriten(); ProgressAsyncHandler.class.cast(asyncHandler).onContentWritten();
} }
} }
} }
Expand Down
Expand Up @@ -90,7 +90,7 @@ public void operationComplete(ChannelProgressiveFuture cf) {
if (notifyHeaders) { if (notifyHeaders) {
progressAsyncHandler.onHeadersWritten(); progressAsyncHandler.onHeadersWritten();
} else { } else {
progressAsyncHandler.onContentWriten(); progressAsyncHandler.onContentWritten();
} }
} }
} }
Expand Down

0 comments on commit e9d13ec

Please sign in to comment.