public final class Method extends AbstractMethod
HttpMethod that's neither safe nor idempotent. Use SafeMethod or IdempotentMethod to create one of these.| Constructor and Description |
|---|
Method(java.lang.String verb,
boolean supportsRequestPayload) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIdempotent()
Returns if this 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 |
isSafe()
Returns if this request method is safe, which means that the request is not intended and not expected to change any state on the server.
|
equals, hashCode, supportsRequestPayload, verbpublic boolean isSafe()
HttpMethodpublic boolean isIdempotent()
HttpMethod