Interface HasGetMethod
public interface HasGetMethod
Optional interface implemented by
HttpServlets that wish to leverage
the
EntityTags.etag(HttpServletRequest, HttpServletResponse, HasGetMethod)
method to automatically produce an ETag header.- Author:
- cdivilly
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Public doGet(HttpServletRequest,HttpServletResponse) method, which can be invoked by the runtime
-
Method Details
-
doGet
void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, 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 handledIOException- if an I/O error occurs while reading the request or writing the response
-