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) throws java.io.IOException
mb - The host header valuejava.lang.IllegalArgumentException - If the host header value is not
specification compliantjava.io.IOException - If a problem occurs reading the data from the inputpublic static int parse(java.lang.String string)
throws java.io.IOException
string - The host header valuejava.lang.IllegalArgumentException - If the host header value is not
specification compliantjava.io.IOException - If a problem occurs reading the data from the inputCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.