提交 bf6ee163 编写于 作者: S Sam Brannen

Fix copy-n-paste errors in NativeWebRequest

上级 0fb4b747
/* /*
* Copyright 2002-2012 the original author or authors. * Copyright 2002-2013 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.
...@@ -56,13 +56,13 @@ public interface NativeWebRequest extends WebRequest { ...@@ -56,13 +56,13 @@ public interface NativeWebRequest extends WebRequest {
<T> T getNativeRequest(Class<T> requiredType); <T> T getNativeRequest(Class<T> requiredType);
/** /**
* Return the underlying native request object, if available. * Return the underlying native response object, if available.
* @param requiredType the desired type of response object * @param requiredType the desired type of response object
* @return the matching response object, or {@code null} if none * @return the matching response object, or {@code null} if none
* of that type is available * of that type is available
* @see javax.servlet.http.HttpServletRequest * @see javax.servlet.http.HttpServletResponse
* @see javax.portlet.ActionRequest * @see javax.portlet.ActionResponse
* @see javax.portlet.RenderRequest * @see javax.portlet.RenderResponse
*/ */
<T> T getNativeResponse(Class<T> requiredType); <T> T getNativeResponse(Class<T> requiredType);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册