diff --git a/spring-web/src/main/java/org/springframework/http/client/SimpleStreamingClientHttpRequest.java b/spring-web/src/main/java/org/springframework/http/client/SimpleStreamingClientHttpRequest.java index 1a82d7d45c5aa5c280d625544b8abbcaa0b1bf8f..9ec659945a309ba24eb5966cffc4db0cc5d4470c 100644 --- a/spring-web/src/main/java/org/springframework/http/client/SimpleStreamingClientHttpRequest.java +++ b/spring-web/src/main/java/org/springframework/http/client/SimpleStreamingClientHttpRequest.java @@ -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 { }