Class IdempotencyEndpoints
java.lang.Object
com.github.damianwajser.idempotency.configuration.IdempotencyEndpoints
public class IdempotencyEndpoints extends Object
-
Constructor Summary
Constructors Constructor Description IdempotencyEndpoints() -
Method Summary
Modifier and Type Method Description IdempotencyEndpointaddIdempotencyEndpoint(String endpoint)IdempotencyEndpointaddIdempotencyEndpoint(String endpoint, IdempotencyKeyGenerator<Object> keyGenerator, org.springframework.http.HttpMethod... methods)IdempotencyEndpointaddIdempotencyEndpoint(String endpoint, org.springframework.http.HttpMethod... methods)StringgenerateKey(javax.servlet.http.HttpServletRequest request)String[]getUrlPatterns()booleanisApplicable(javax.servlet.http.HttpServletRequest request)
-
Constructor Details
-
IdempotencyEndpoints
public IdempotencyEndpoints()
-
-
Method Details
-
addIdempotencyEndpoint
-
addIdempotencyEndpoint
public IdempotencyEndpoint addIdempotencyEndpoint(String endpoint, org.springframework.http.HttpMethod... methods) -
addIdempotencyEndpoint
public IdempotencyEndpoint addIdempotencyEndpoint(String endpoint, IdempotencyKeyGenerator<Object> keyGenerator, org.springframework.http.HttpMethod... methods) -
getUrlPatterns
-
generateKey
public String generateKey(javax.servlet.http.HttpServletRequest request) throws IOException, InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException -
isApplicable
public boolean isApplicable(javax.servlet.http.HttpServletRequest request)
-