diff --git a/spring-web/src/main/java/org/springframework/web/util/ContentCachingRequestWrapper.java b/spring-web/src/main/java/org/springframework/web/util/ContentCachingRequestWrapper.java index 65d2421a5d8428eaeba60804a4571823f70f2c03..cfca663ad68108b86cb667e95235fda64e8cba47 100644 --- a/spring-web/src/main/java/org/springframework/web/util/ContentCachingRequestWrapper.java +++ b/spring-web/src/main/java/org/springframework/web/util/ContentCachingRequestWrapper.java @@ -31,7 +31,7 @@ import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequestWrapper; /** - * {@link javax.servlet.http-HttpServletRequest} wrapper that caches all content read from + * {@link javax.servlet.http.HttpServletRequest} wrapper that caches all content read from * the {@linkplain #getInputStream() input stream} and {@linkplain #getReader() reader}, * and allows this content to be retrieved via a {@link #getContentAsByteArray() byte array}. * @@ -40,6 +40,7 @@ import javax.servlet.http.HttpServletRequestWrapper; * @author Juergen Hoeller * @author Brian Clozel * @since 4.1.3 + * @see ContentCachingResponseWrapper */ public class ContentCachingRequestWrapper extends HttpServletRequestWrapper { diff --git a/spring-web/src/main/java/org/springframework/web/util/ContentCachingResponseWrapper.java b/spring-web/src/main/java/org/springframework/web/util/ContentCachingResponseWrapper.java index 3eee67e72c6a67027bcf44d94715005e08ad2416..8c4e84124019a57ef8d9907e67b5287a42909ad1 100644 --- a/spring-web/src/main/java/org/springframework/web/util/ContentCachingResponseWrapper.java +++ b/spring-web/src/main/java/org/springframework/web/util/ContentCachingResponseWrapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * 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. @@ -28,7 +28,7 @@ import org.springframework.util.ResizableByteArrayOutputStream; import org.springframework.util.StreamUtils; /** - * {@link javax.servlet.http-HttpServletResponse} wrapper that caches all content written to + * {@link javax.servlet.http.HttpServletResponse} wrapper that caches all content written to * the {@linkplain #getOutputStream() output stream} and {@linkplain #getWriter() writer}, * and allows this content to be retrieved via a {@link #getContentAsByteArray() byte array}. * @@ -36,6 +36,7 @@ import org.springframework.util.StreamUtils; * * @author Juergen Hoeller * @since 4.1.3 + * @see ContentCachingRequestWrapper */ public class ContentCachingResponseWrapper extends HttpServletResponseWrapper { @@ -142,7 +143,7 @@ public class ContentCachingResponseWrapper extends HttpServletResponseWrapper { } /** - * Return the status code as specifed on the response. + * Return the status code as specified on the response. */ public int getStatusCode() { return this.statusCode;