SPR-7695 - Add ETag version of WebRequest.checkNotModified()

This commit is contained in:
Arjen Poutsma
2010-10-29 10:28:47 +00:00
parent 095a36e853
commit 7cc3f49910
5 changed files with 157 additions and 15 deletions

View File

@@ -177,6 +177,14 @@ public class PortletWebRequest extends PortletRequestAttributes implements Nativ
return false;
}
/**
* Last-modified handling not supported for portlet requests:
* As a consequence, this method always returns <code>false</code>.
*/
public boolean checkNotModified(String eTag) {
return false;
}
public String getDescription(boolean includeClientInfo) {
PortletRequest request = getRequest();
StringBuilder result = new StringBuilder();