Javadoc fixes

This commit is contained in:
Juergen Hoeller 2015-05-11 19:04:29 +02:00
parent 14cd3ef2d5
commit a8f75399f8
2 changed files with 6 additions and 4 deletions

View File

@ -31,7 +31,7 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper; 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}, * the {@linkplain #getInputStream() input stream} and {@linkplain #getReader() reader},
* and allows this content to be retrieved via a {@link #getContentAsByteArray() byte array}. * 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 Juergen Hoeller
* @author Brian Clozel * @author Brian Clozel
* @since 4.1.3 * @since 4.1.3
* @see ContentCachingResponseWrapper
*/ */
public class ContentCachingRequestWrapper extends HttpServletRequestWrapper { public class ContentCachingRequestWrapper extends HttpServletRequestWrapper {

View File

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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; 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}, * the {@linkplain #getOutputStream() output stream} and {@linkplain #getWriter() writer},
* and allows this content to be retrieved via a {@link #getContentAsByteArray() byte array}. * 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 * @author Juergen Hoeller
* @since 4.1.3 * @since 4.1.3
* @see ContentCachingRequestWrapper
*/ */
public class ContentCachingResponseWrapper extends HttpServletResponseWrapper { 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() { public int getStatusCode() {
return this.statusCode; return this.statusCode;