Polish MessageBodyClientHttpResponseWrapper

Added missing copyright clause and fixed @since version.
master
Sam Brannen 10 years ago
parent b6675b6167
commit c50df0c420
  1. 18
      spring-web/src/main/java/org/springframework/web/client/MessageBodyClientHttpResponseWrapper.java

@ -1,3 +1,19 @@
/*
* Copyright 2002-2015 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.web.client;
import java.io.IOException;
@ -13,7 +29,7 @@ import org.springframework.http.client.ClientHttpResponse;
* has a message body, but also if its length is 0 (i.e. empty) by actually reading the input stream.
*
* @author Brian Clozel
* @since 4.1
* @since 4.1.5
* @see <a href="http://tools.ietf.org/html/rfc7230#section-3.3.3">rfc7230 Section 3.3.3</a>
*/
class MessageBodyClientHttpResponseWrapper implements ClientHttpResponse {

Loading…
Cancel
Save