public interface HtmlClient
| Modifier and Type | Method and Description |
|---|---|
<T extends Document> |
delete(String url)
Performs a DELETE request and returns a Document
|
<T extends Document> |
enter(String url)
Enters a url and return a Document
|
<T extends Document> |
get(String url)
Performs a GET request and returns a Document
|
<T extends Document> |
newDocument(String html)
Method to create a new Document representation from an HTML content String
|
<T extends Document> |
post(String url,
org.apache.http.HttpEntity entity)
Performs a POST request.
|
<T extends Document> T enter(String url) throws ClientException
url - ClientException<T extends Document> T get(String url) throws ClientException
url - the URL String to perform an HTTP GET onClientException<T extends Document> T post(String url, org.apache.http.HttpEntity entity) throws ClientException
url - the URL String to perform an HTTP post onentity - data to postClientException<T extends Document> T delete(String url) throws ClientException
url - the URL String to perform an HTTP DELETE onClientExceptionCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.