Example usage for javax.servlet.http HttpServletResponse hashCode

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

Introduction

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

Prototype

@HotSpotIntrinsicCandidate
public native int hashCode();

Source Link

Document

Returns a hash code value for the object.

Usage

From source file:org.fedoracommons.funapi.UnapiServletTest.java

@Test
public void testFoo() throws Exception {
    MockHttpServletRequest request = new MockHttpServletRequest("GET", "/main.app");
    request.setSession(new MockHttpSession(null));

    request.addParameter("choice", "expanded");
    request.addParameter("contextMenu", "left");

    HttpServletResponse response = new MockHttpServletResponse();
    response.hashCode();
}