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