public class Host
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static int |
parse(java.lang.String string) |
Parse the given input as a HTTP Host header value.
|
static int |
parse(MessageBytes mb) |
Parse the given input as a HTTP Host header value.
|
public static int parse(MessageBytes mb)
mb
- The host header valuejava.lang.IllegalArgumentException
- If the host header value is not
specification compliantpublic static int parse(java.lang.String string)
string
- The host header valuejava.lang.IllegalArgumentException
- If the host header value is not
specification compliantCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.