Package io.prestosql.server.protocol
Class Slug
- java.lang.Object
-
- io.prestosql.server.protocol.Slug
-
public final class Slug extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Slug.Context
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Slug
createNew()
boolean
isValid(Slug.Context context, String slug, long token)
String
makeSlug(Slug.Context context, long token)
-
-
-
Method Detail
-
createNew
public static Slug createNew()
-
makeSlug
public String makeSlug(Slug.Context context, long token)
-
isValid
public boolean isValid(Slug.Context context, String slug, long token)
-
-