List of usage examples for javax.servlet.http HttpServletResponse getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:org.oclc.oai.server.OAIHandler.java
/** * Override to do any prequalification; return false if the response should be returned immediately, without further * action.//from ww w .j a v a2 s . c o m * * @param request * @param response * @return false=return immediately, true=continue */ protected boolean filterRequest(HttpServletRequest request, HttpServletResponse response) { request.getClass(); // so they are used response.getClass(); return true; }