| Modifier and Type | Class and Description |
|---|---|
| public static class | HttpParser.
An exception indicating some problem parsing HTPP headers. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static List | Returns: a list ofAuthenticationChallenges found.The complete (header) lines of the HTTP response reply, String to look for (including the terminating ':'!) authenticationHeader)Extract the authentication headers from the header lines. |
| private static int | |
| private static void | |
| public static StatusLine | |
| private static String | |
| private static int |
| HttpParser | back to summary |
|---|---|
| private HttpParser() | |
| getAuthenticationHeaders | back to summary |
|---|---|
| public static List Extract the authentication headers from the header lines. It is assumed
that the first element in
| |
| parseChallenge | back to summary |
|---|---|
| private static int parseChallenge(AuthenticationChallenge challenge, String header, int from) | |
| parseChallenges | back to summary |
|---|---|
| private static void parseChallenges(List<AuthenticationChallenge> challenges, String header) | |
| parseStatusLine | back to summary |
|---|---|
| public static StatusLine parseStatusLine(String line) throws ParseException Parse a HTTP response status line.
| |
| scanQuotedString | back to summary |
|---|---|
| private static String scanQuotedString(String header, int from, int[] to) | |
| skipWhiteSpace | back to summary |
|---|---|
| private static int skipWhiteSpace(String header, int i) | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ParseException(Throwable
Throwable that caused this exception, or
null if noneCreates a new |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ParseException | back to summary |
|---|---|
| public ParseException() Creates a new | |
| ParseException | back to summary |
|---|---|
| public ParseException(Throwable cause) Creates a new | |