Java Reference
In-Depth Information
The isRequestedSessionIdFromURL() Method
public boolean isRequestedSessionIdFromURL()
The isRequestedSessionIdFromURL() method returns true if the session ID from the request
came in as part of the URL; otherwise it returns false . isRequestedSessionIdFromURL() has
no parameters and throws no exceptions.
It returns this value:
boolean
The HttpServletResponse Interface
public interface HttpServletResponse
extends ServletRequest
The HttpServletResponse interface defines an object that provides the
HttpServlet.service() method with the capability to manipulate HTTP-protocol specific
header information and return data to the client. The HttpServletResponse interface has 39
fields and 10 methods, described in the following sections.
The SC_CONTINUE Field
public static final int SC_CONTINUE
This field represents a status code of (100), indicating that the client can continue.
The SC_SWITCHING_PROTOCOLS Field
public static final int SC_SWITCHING_PROTOCOLS
This field represents a status code of (101), indicating the server is switching protocols accord-
ing to the Upgrade header.
The SC_OK Field
public static final int SC_OK
This field represents a status code of (200), indicating the request succeeded normally.
The SC_CREATED Field
public static final int SC_CREATED
This field represents a status code of (201), indicating the request succeeded and created a new
resource on the server.
The SC_ACCEPTED Field
public static final int SC_ACCEPTED
Search WWH ::




Custom Search