Package | Description |
---|---|
org.restlet.engine.adapter |
Adapters between low-level HTTP calls and high-level Restlet Request and
Response objects.
|
org.restlet.engine.connector |
Integration with Java URLConnection class.
|
Modifier and Type | Method and Description |
---|---|
abstract ClientCall |
HttpClientHelper.create(Request request)
Creates a low-level HTTP client call from a high-level request.
|
ClientCall |
ClientAdapter.toSpecific(HttpClientHelper client,
Request request)
Converts a low-level HTTP call into a high-level uniform call.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientAdapter.commit(ClientCall httpCall,
Request request,
Response response)
Commits the changes to a handled HTTP client call back into the original
uniform call.
|
protected void |
ClientAdapter.readResponseHeaders(ClientCall httpCall,
Response response)
Reads the response headers of a handled HTTP client call to update the
original uniform call.
|
void |
ClientAdapter.updateResponse(Response response,
Status status,
ClientCall httpCall)
Updates the response with information from the lower-level HTTP client
call.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpUrlConnectionCall
HTTP client connector call based on JDK's java.net.HttpURLConnection class.
|
Modifier and Type | Method and Description |
---|---|
ClientCall |
HttpClientHelper.create(Request request)
Creates a low-level HTTP client call from a high-level uniform call.
|
Copyright © 2005-2020 Restlet.