Package | Description |
---|---|
net.noderunner.http |
Provides classes for sending and receiving data over HTTP.
|
Modifier and Type | Method and Description |
---|---|
Method |
RequestLine.getMethod()
Returns the name of the request method.
|
static Method |
Method.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Method[] |
Method.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static RequestLine |
RequestLine.create(URL url,
Method method)
Creates and returns a request line based on a URL and method.
|
void |
EasyHttpClient.setMethod(Method method)
Allows a subsequent operation to be repeated with a different method on
the same connection.
|
Constructor and Description |
---|
EasyHttpClient(HttpClient c,
URL url,
Method method)
Constructs a new HTTP client.
|
EasyHttpClient(URL url,
Method method)
Constructs a new HTTP client.
|
RequestLine(Method method,
String requestURI)
Constructs using a method, a request URI, and the default HTTP/1.1
version.
|
RequestLine(Method method,
String requestURI,
HttpVersion version)
Constructs using all
Request-Line |
Copyright © 2012. All Rights Reserved.