Package | Description |
---|---|
org.apache.sling.hapi.client |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
org.apache.sling.hapi.client.impl | |
org.apache.sling.hapi.client.impl.microdata |
Modifier and Type | Method and Description |
---|---|
boolean |
Item.bool()
Returns he boolean value of the property
|
<T extends Document> |
HtmlClient.delete(String url)
Performs a DELETE request and returns a Document
|
<T extends Document> |
HtmlClient.enter(String url)
Enters a url and return a Document
|
Document |
Item.follow()
Follow a hyperlink and get a new
Document representation |
Items |
Item.form()
Returns all the child forms
|
Items |
Item.form(String rel)
Returns the child forms that have the given relation
|
Items |
Document.form(String rel)
Get all the
Document 's form items. |
<T extends Document> |
HtmlClient.get(String url)
Performs a GET request and returns a Document
|
Items |
Document.item(String rel)
Get all the
Document 's items. |
Items |
Document.items()
Get all the
Document 's items. |
Items |
Item.link()
Returns all the child links
|
Items |
Item.link(String rel)
Returns the child links that have the given relation
|
Items |
Document.link(String rel)
Get all the
Document 's link items. |
int |
Item.number() |
<T extends Document> |
HtmlClient.post(String url,
org.apache.http.HttpEntity entity)
Performs a POST request.
|
Items |
Item.prop(String name)
Returns the property of the item having the given name.
|
Set<String> |
Item.props()
Return a List of all the properties of this item.
|
Document |
Item.submit(Iterable<org.apache.http.NameValuePair> data)
Submits this form item and returns a new
Document representation |
String |
Item.text()
Returns the text value of the property.
|
Modifier and Type | Method and Description |
---|---|
<T extends Document> |
AbstractHtmlClientImpl.delete(String url) |
<T extends Document> |
AbstractHtmlClientImpl.enter(String url) |
<T extends Document> |
AbstractHtmlClientImpl.get(String url) |
<T extends Document> |
AbstractHtmlClientImpl.post(String url,
org.apache.http.HttpEntity entity) |
Modifier and Type | Method and Description |
---|---|
Items |
MicrodataDocument.form(String rel) |
Items |
MicrodataDocument.link(String rel) |
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.