public class HttpActionClient extends Object
| Constructor and Description |
|---|
HttpActionClient(org.apache.http.client.HttpClient client,
URL url) |
HttpActionClient(URL url) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
consume(org.apache.http.HttpResponse res) |
byte[] |
get(Get get) |
String |
getHostUrl() |
String |
performAction(ContentProcessable contentProcessable) |
protected String |
processAction(HttpAction httpAction,
ReturningText answerParser) |
public HttpActionClient(URL url)
public HttpActionClient(org.apache.http.client.HttpClient client,
URL url)
url - like "http://host/of/wiki/"@Nonnull public String performAction(ContentProcessable contentProcessable)
protected String processAction(HttpAction httpAction, ReturningText answerParser)
protected void consume(org.apache.http.HttpResponse res)
public String getHostUrl()
Copyright © 2013. All Rights Reserved.