public class Host
extends java.lang.Object
Constructor and Description |
---|
Host() |
Modifier and Type | Method and Description |
---|---|
static int |
parse(MessageBytes mb)
Parse the given input as a HTTP Host header value.
|
static int |
parse(java.lang.String string)
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-2018 Apache Software Foundation. All Rights Reserved.