Interface HasGetMethod
-
public interface HasGetMethodOptional interface implemented byHttpServlets that wish to leverage theEntityTags.etag(HttpServletRequest, HttpServletResponse, HasGetMethod)method to automatically produce anETagheader.- Author:
- cdivilly
- See Also:
EntityTags
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Public doGet(HttpServletRequest,HttpServletResponse) method, which can be invoked by the runtime
-
-
-
Method Detail
-
doGet
void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOExceptionPublic doGet(HttpServletRequest,HttpServletResponse) method, which can be invoked by the runtime- Parameters:
request- The HTTP requestresponse- The HTTP response- Throws:
javax.servlet.ServletException- if the request cannot be handledjava.io.IOException- if an I/O error occurs while reading the request or writing the response
-
-