Class IdempotencyEndpoint
- java.lang.Object
-
- com.github.damianwajser.idempotency.configuration.IdempotencyEndpoint
-
public class IdempotencyEndpoint extends Object
-
-
Constructor Summary
Constructors Constructor Description IdempotencyEndpoint(Set<org.springframework.http.HttpMethod> methods, IdempotencyKeyGenerator generator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgenerateKey(javax.servlet.http.HttpServletRequest request)booleanisAppicable(org.springframework.http.HttpMethod httpMethod)
-
-
-
Constructor Detail
-
IdempotencyEndpoint
public IdempotencyEndpoint(Set<org.springframework.http.HttpMethod> methods, IdempotencyKeyGenerator generator)
-
-
Method Detail
-
generateKey
public String generateKey(javax.servlet.http.HttpServletRequest request) throws com.github.damianwajser.exceptions.RestException
- Throws:
com.github.damianwajser.exceptions.RestException
-
isAppicable
public boolean isAppicable(org.springframework.http.HttpMethod httpMethod)
-
-