Uses of Class
io.microsphere.spring.web.idempotent.IdempotentAttributes
Packages that use IdempotentAttributes
-
Uses of IdempotentAttributes in io.microsphere.spring.web.idempotent
Methods in io.microsphere.spring.web.idempotent that return IdempotentAttributesModifier and TypeMethodDescriptionstatic IdempotentAttributesIdempotentAttributes.of(Idempotent annotation) Create theIdempotentannotation attributesstatic IdempotentAttributesIdempotentAttributes.of(Idempotent annotation, org.springframework.core.env.PropertyResolver propertyResolver) Create theIdempotentannotation attributesMethods in io.microsphere.spring.web.idempotent with parameters of type IdempotentAttributesModifier and TypeMethodDescriptionbooleanDefaultIdempotentService.checkToken(org.springframework.web.context.request.NativeWebRequest request, IdempotentAttributes attributes, String token) booleanIdempotentService.checkToken(org.springframework.web.context.request.NativeWebRequest request, IdempotentAttributes attributes, String token) Check the token is existedDefaultIdempotentService.generateToken(org.springframework.web.context.request.NativeWebRequest request, IdempotentAttributes attributes) default StringIdempotentService.generateToken(org.springframework.web.context.request.NativeWebRequest request, IdempotentAttributes attributes) Generate a new token.DefaultIdempotentService.getToken(org.springframework.web.context.request.NativeWebRequest request, IdempotentAttributes attributes) IdempotentService.getToken(org.springframework.web.context.request.NativeWebRequest request, IdempotentAttributes attributes) Get the token from the request.booleanDefaultIdempotentService.invalidate(org.springframework.web.context.request.NativeWebRequest request, IdempotentAttributes attributes, String token) booleanIdempotentService.invalidate(org.springframework.web.context.request.NativeWebRequest request, IdempotentAttributes attributes, String token) Invalidate the tokendefault StringIdempotentService.renewToken(org.springframework.web.context.request.NativeWebRequest request, IdempotentAttributes attributes) Renew the tokenbooleanDefaultIdempotentService.storeToken(org.springframework.web.context.request.NativeWebRequest request, IdempotentAttributes attributes, String newToken) booleanIdempotentService.storeToken(org.springframework.web.context.request.NativeWebRequest request, IdempotentAttributes attributes, String newToken) Store the token into backend storage.default voidIdempotentService.validateToken(org.springframework.web.context.request.NativeWebRequest request, IdempotentAttributes attributes) Validate the token