org.directwebremoting.servlet.UncacheableUntransformableResponse Maven / Gradle / Ivy
package org.directwebremoting.servlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.directwebremoting.extend.Handler;
/**
* @author Mike Wilson
*/
public class UncacheableUntransformableResponse extends UncacheableResponse
{
/* (non-Javadoc)
* @see org.directwebremoting.servlet.ResponseHandler#handle(org.directwebremoting.extend.Handler, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
*/
@Override
public void handle(Handler handler, HttpServletRequest request, HttpServletResponse response)
{
super.handle(handler, request, response);
response.addHeader("Cache-Control", "no-transform");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy