Fix copy-n-paste errors in NativeWebRequest

master
Sam Brannen 12 years ago
parent 0fb4b747c2
commit bf6ee1631c
  1. 10
      spring-web/src/main/java/org/springframework/web/context/request/NativeWebRequest.java

@ -1,5 +1,5 @@
/* /*
* 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 {
<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);

Loading…
Cancel
Save