public interface RqHeaders extends Request
All implementations of this interface must be immutable and thread-safe.
Modifier and Type | Interface and Description |
---|---|
static class |
RqHeaders.Base
Request decorator, for HTTP headers parsing.
|
static class |
RqHeaders.Smart
Smart decorator, with extra features.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
header(CharSequence key)
Get single header.
|
Set<String> |
names()
Get all header names.
|
List<String> header(CharSequence key) throws IOException
key
- Header nameIOException
- If failsSet<String> names() throws IOException
IOException
- If failsCopyright © 2015–2019 Take. All rights reserved.