Package | Description |
---|---|
ratpack.handling |
The handling of application requests.
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.reflect.TypeToken<RequestId.Generator> |
RequestId.Generator.TYPE
A type token for this type.
|
Modifier and Type | Method and Description |
---|---|
static RequestId.Generator |
RequestId.Generator.header(java.lang.CharSequence headerName)
Creates a generator that uses the value for the given header, falling back to a
randomUuid() generator if the header is not present. |
static RequestId.Generator |
RequestId.Generator.header(java.lang.CharSequence headerName,
RequestId.Generator fallback)
Creates a generator that uses the value for the given header, using the given fallback generator if the header is not present.
|
static RequestId.Generator |
RequestId.Generator.randomUuid()
Generates IDs based of a random UUID.
|
Modifier and Type | Method and Description |
---|---|
static RequestId.Generator |
RequestId.Generator.header(java.lang.CharSequence headerName,
RequestId.Generator fallback)
Creates a generator that uses the value for the given header, using the given fallback generator if the header is not present.
|