Merge pull request #101 from philwebb/SPR-9530

* SPR-9530:
  Improve SimpleStreamingClientHttpRequest performance
This commit is contained in:
Rossen Stoyanchev 2012-07-02 17:05:44 -04:00
commit 8fbfe9b502
1 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2011 the original author or authors.
* Copyright 2002-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -113,6 +113,16 @@ final class SimpleStreamingClientHttpRequest extends AbstractClientHttpRequest {
super(out);
}
@Override
public void write(byte[] b) throws IOException {
super.write(b);
}
@Override
public void write(byte[] b, int off, int let) throws IOException {
out.write(b, off, let);
}
@Override
public void close() throws IOException {
}