Java Reference
In-Depth Information
The
isPermanent()
method returns
true
if the servlet is permanently unavailable; otherwise,
it returns
false
.
isPermanent()
has no parameters and throws no exceptions.
B
It returns this value:
•
boolean
The
getUnavailableSeconds()
Method
public int getUnavailableSeconds()
The
getUnavailableSeconds()
method returns an
int
representing the number of seconds a
servlet is expected to be temporarily unavailable.
getUnavailableSeconds()
has no parame-
ters and throws no exceptions.
It returns this value:
•
int