Class IdempotencyEndpoint


  • public class IdempotencyEndpoint
    extends Object
    • 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)