|
|
|
@ -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"); |
|
|
|
|
* 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); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Return the underlying native request object, if available. |
|
|
|
|
* Return the underlying native response object, if available. |
|
|
|
|
* @param requiredType the desired type of response object |
|
|
|
|
* @return the matching response object, or {@code null} if none |
|
|
|
|
* of that type is available |
|
|
|
|
* @see javax.servlet.http.HttpServletRequest |
|
|
|
|
* @see javax.portlet.ActionRequest |
|
|
|
|
* @see javax.portlet.RenderRequest |
|
|
|
|
* @see javax.servlet.http.HttpServletResponse |
|
|
|
|
* @see javax.portlet.ActionResponse |
|
|
|
|
* @see javax.portlet.RenderResponse |
|
|
|
|
*/ |
|
|
|
|
<T> T getNativeResponse(Class<T> requiredType); |
|
|
|
|
|
|
|
|
|