Class UuidResolver


  • public class UuidResolver
    extends Object
    Resolver for UUID values from HTTP Servlet Request Headers.
    Since:
    2.0.0
    Author:
    Rutger Lubbers
    • Constructor Detail

      • UuidResolver

        public UuidResolver()
    • Method Detail

      • resolve

        public UUID resolve​(javax.servlet.http.HttpServletRequest request,
                            String headerName)
        Resolve the UUID from the header with name headerName.

        If the value is not set in the request then a new UUID will be generated.