public static final class RqHeaders.Single extends Object implements org.cactoos.Text
Use this class to find single header value by name:
Text header = new RqHeaders.Single(headers, "content-type");
If no headers were found or headers contains more than one value
for name IllegalStateException will be thrown.
Copyright © 2012–2020 jcabi.com. All rights reserved.