public interface ParameterInfo
Modifier and Type | Method and Description |
---|---|
String |
getHeader(String id)
Returns the value of a header with the given identifier
|
Locale |
getLocale() |
String |
getQueryParameter(String key)
Returns the value of a query parameter with the given key
|
Stream<String> |
getQueryParameters() |
Instant |
getValidFrom() |
Instant |
getValidTo() |
String getHeader(String id)
id
- the header identifierString getQueryParameter(String key)
key
- the query parameter keyStream<String> getQueryParameters()
Instant getValidFrom()
Instant
value of request parameter "valid-from" or constructed from Long.MIN_VALUE
if not available or parsing failed.Instant getValidTo()
Instant
value of request parameter "valid-to" or constructed from Long.MAX_VALUE
if not available or parsing failed.Copyright © 2020. All rights reserved.