Interface HasGetMethod
-
public interface HasGetMethod
Optional interface implemented byHttpServlet
s that wish to leverage theEntityTags.etag(HttpServletRequest, HttpServletResponse, HasGetMethod)
method to automatically produce anETag
header.- Author:
- cdivilly
- See Also:
EntityTags
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
doGet(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.IOException
Public 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
-
-