提交 a8f75399 编写于 作者: J Juergen Hoeller

Javadoc fixes

上级 14cd3ef2
......@@ -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 {
......
/*
* 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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册