public final class SafeMethod extends AbstractMethod
HttpMethod.| Constructor and Description |
|---|
SafeMethod(java.lang.String verb) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
idempotent()
Indicates that a request method is idempotent, which means that sending multiple identical requests with that method has the same effect as sending one
single request to the server.
|
boolean |
safe()
Indicates that a request method is safe, which means that the request is not intended and not expected to change any state on the server.
|
equals, hashCode, verbpublic boolean safe()
HttpMethodsafe in interface HttpMethodsafe in class AbstractMethodpublic boolean idempotent()
HttpMethodidempotent in interface HttpMethodidempotent in class AbstractMethod