Package | Description |
---|---|
net.noderunner.http |
Provides classes for sending and receiving data over HTTP.
|
Modifier and Type | Method and Description |
---|---|
static MessageHeader |
MessageHeader.parse(String messageHeader)
Parse using a
message-header string. |
static StatusLine |
StatusLine.parseStatusLine(String line)
Returns either
StatusLine.HTTP11_200_OK or a newly
constructed StatusLine object. |
static HttpVersion |
HttpVersion.parseVersion(String version)
Based on the string supplied, returns either
HttpVersion.HTTP10 or HttpVersion.HTTP11 or
a newly constructed HttpVersion instance. |
Constructor and Description |
---|
HttpVersion(String line)
Constructs a
HttpVersionImpl out of a parsable String. |
RequestLine(String line)
Construct using an unparsed request line.
|
StatusLine(String line)
Constructs a
StatusLineImpl using an unparsed request
line. |
Copyright © 2012. All Rights Reserved.