Package ratpack.core.handling
Interface UserId
-
- All Superinterfaces:
CharSequence
public interface UserId extends CharSequence
An opaque identifier for the “user” that initiated the request.This type is typically used in logging, notably by
RequestLogger. Authentication systems should add a user identifier to the request registry.
-
-
Method Summary
Static Methods Modifier and Type Method Description static UserIdof(String userIdentifier)Creates new user identifier of the given string.-
Methods inherited from interface java.lang.CharSequence
charAt, chars, codePoints, length, subSequence, toString
-
-