Java Reference
In-Depth Information
The isSecure() method returns a boolean value indicating whether the request was made
with a secure channel. isSecure() has no parameters and throws no exceptions.
B
It returns this value:
boolean
The removeAttribute() Method
public void removeAttribute(java.lang.String name)
The removeAttribute() method removes the named attribute from the ServletRequest .
removeAttribute() returns no value and throws no exceptions.
It has one parameter:
java.lang.String
The setAttribute() Method
public void setAttribute(java.lang.String key,
java.lang.Object object) throws IllegalStateException
The setAttribute() method adds an attribute to the request's context keyed by the passed-in
key string. It throws an IllegalStateException if the key already exists. setAttribute()
returns no value.
It has two parameters:
java.lang.String
java.lang.Object
It throws this exception:
IllegalStateException
The ServletResponse Interface
public interface ServletResponse
The ServletResponse interface defines an object for sending MIME data back to the client
from the servlet's service method. The ServletResponse object is a parameter of the servlet's
service method. The ServletResponse interface defines several methods for implementing
objects.
The flushBuffer() Method
public void flushBuffer()
throws IOException
 
Search WWH ::




Custom Search