Example usage for javax.servlet.http HttpServletResponse getClass

List of usage examples for javax.servlet.http HttpServletResponse getClass

Introduction

In this page you can find the example usage for javax.servlet.http HttpServletResponse getClass.

Prototype

@HotSpotIntrinsicCandidate
public final native Class<?> getClass();

Source Link

Document

Returns the runtime class of this Object .

Usage

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;
}