
org.directwebremoting.servlet.ResponseHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dwr Show documentation
Show all versions of dwr Show documentation
DWR is easy Ajax for Java. It makes it simple to call Java code directly from Javascript.
It gets rid of almost all the boilerplate code between the web browser and your Java code.
This version 4.0.2 works with Jakarta Servlet 4.0.2.
The newest version!
package org.directwebremoting.servlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.directwebremoting.extend.Handler;
/**
* Decorating handler for configuring response headers such as caching and expiry.
* The UrlProcessor automatically maps and applies these from configuration.
* @author Mike Wilson
*/
public interface ResponseHandler
{
/**
* Decorate a response by setting headers and other meta-data.
* @param handler ...
* @param request ...
* @param response ...
*/
void handle(Handler handler, HttpServletRequest request, HttpServletResponse response);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy