A B C D E F G H I L M N O P S T V 

A

AbstractHtmlClientImpl - Class in org.apache.sling.hapi.client.impl
 
AbstractHtmlClientImpl(CloseableHttpClient, String) - Constructor for class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
AbstractHtmlClientImpl(String) - Constructor for class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
AbstractHtmlClientImpl(String, String, String) - Constructor for class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
add(String, NameValuePair) - Method in class org.apache.sling.hapi.client.forms.internal.Vals
 
at(int) - Method in interface org.apache.sling.hapi.client.Items
Returns the item at one index

B

baseUrl - Variable in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
bool() - Method in interface org.apache.sling.hapi.client.Item
Returns he boolean value of the property

C

client - Variable in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
ClientException - Exception in org.apache.sling.hapi.client
An HTTP client exception
ClientException(String, Throwable) - Constructor for exception org.apache.sling.hapi.client.ClientException
 
ClientException(String) - Constructor for exception org.apache.sling.hapi.client.ClientException
 

D

delete(String) - Method in interface org.apache.sling.hapi.client.HtmlClient
Performs a DELETE request and returns a Document
delete(String) - Method in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
Document - Interface in org.apache.sling.hapi.client
A hapi representation of an HTML document, backed by HTML markup.

E

enter(String) - Method in interface org.apache.sling.hapi.client.HtmlClient
Enters a url and return a Document
enter(String) - Method in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
execute(HttpUriRequest) - Method in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
execute(HttpUriRequest, HttpContext) - Method in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
execute(HttpHost, HttpRequest) - Method in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
execute(HttpHost, HttpRequest, HttpContext) - Method in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
execute(HttpUriRequest, ResponseHandler<? extends T>) - Method in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
execute(HttpUriRequest, ResponseHandler<? extends T>, HttpContext) - Method in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
execute(HttpHost, HttpRequest, ResponseHandler<? extends T>) - Method in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
execute(HttpHost, HttpRequest, ResponseHandler<? extends T>, HttpContext) - Method in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 

F

flatten() - Method in class org.apache.sling.hapi.client.forms.internal.Vals
 
follow() - Method in interface org.apache.sling.hapi.client.Item
Follow a hyperlink and get a new Document representation
form(String) - Method in interface org.apache.sling.hapi.client.Document
Get all the Document's form items.
form(String) - Method in class org.apache.sling.hapi.client.impl.microdata.MicrodataDocument
 
form(String) - Method in interface org.apache.sling.hapi.client.Item
Returns the child forms that have the given relation
form() - Method in interface org.apache.sling.hapi.client.Item
Returns all the child forms
FormValues - Class in org.apache.sling.hapi.client.forms.internal
 
FormValues(Element, Iterable<NameValuePair>) - Constructor for class org.apache.sling.hapi.client.forms.internal.FormValues
 

G

get(String) - Method in interface org.apache.sling.hapi.client.HtmlClient
Performs a GET request and returns a Document
get(String) - Method in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
getClient(CloseableHttpClient, String) - Method in interface org.apache.sling.hapi.client.HtmlClientService
Get an HtmlClient that internally uses a CloseableHttpClient
getClient(String) - Method in interface org.apache.sling.hapi.client.HtmlClientService
Get an HtmlClient.
getClient(String, String, String) - Method in interface org.apache.sling.hapi.client.HtmlClientService
Get an HtmlClient that uses BasicAuth for all requests
getClient(CloseableHttpClient, String) - Method in class org.apache.sling.hapi.client.impl.HtmlClientServiceImpl
Get the HtmlClient
getClient(String) - Method in class org.apache.sling.hapi.client.impl.HtmlClientServiceImpl
getClient(String, String, String) - Method in class org.apache.sling.hapi.client.impl.HtmlClientServiceImpl
getConnectionManager() - Method in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
getParams() - Method in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 

H

has(String) - Method in class org.apache.sling.hapi.client.forms.internal.Vals
 
href() - Method in interface org.apache.sling.hapi.client.Item
Returns the href value of the property.
HtmlClient - Interface in org.apache.sling.hapi.client
 
HtmlClientService - Interface in org.apache.sling.hapi.client
 
HtmlClientServiceImpl - Class in org.apache.sling.hapi.client.impl
 
HtmlClientServiceImpl() - Constructor for class org.apache.sling.hapi.client.impl.HtmlClientServiceImpl
 

I

item(String) - Method in interface org.apache.sling.hapi.client.Document
Get all the Document's items.
item(String) - Method in class org.apache.sling.hapi.client.impl.microdata.MicrodataDocument
 
Item - Interface in org.apache.sling.hapi.client
An HTML item representation.
items() - Method in interface org.apache.sling.hapi.client.Document
Get all the Document's items.
items() - Method in class org.apache.sling.hapi.client.impl.microdata.MicrodataDocument
 
Items - Interface in org.apache.sling.hapi.client
A composite object representing items in a Document

L

length() - Method in interface org.apache.sling.hapi.client.Items
Returns the amount of items contained in this collection.
link(String) - Method in interface org.apache.sling.hapi.client.Document
Get all the Document's link items.
link(String) - Method in class org.apache.sling.hapi.client.impl.microdata.MicrodataDocument
 
link(String) - Method in interface org.apache.sling.hapi.client.Item
Returns the child links that have the given relation
link() - Method in interface org.apache.sling.hapi.client.Item
Returns all the child links
LOG - Static variable in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 

M

MicrodataDocument - Class in org.apache.sling.hapi.client.impl.microdata
 
MicrodataDocument(String, HtmlClient, String) - Constructor for class org.apache.sling.hapi.client.impl.microdata.MicrodataDocument
 
MicrodataHtmlClient - Class in org.apache.sling.hapi.client.impl.microdata
 
MicrodataHtmlClient(CloseableHttpClient, String) - Constructor for class org.apache.sling.hapi.client.impl.microdata.MicrodataHtmlClient
 
MicrodataHtmlClient(String) - Constructor for class org.apache.sling.hapi.client.impl.microdata.MicrodataHtmlClient
 
MicrodataHtmlClient(String, String, String) - Constructor for class org.apache.sling.hapi.client.impl.microdata.MicrodataHtmlClient
 

N

newDocument(String) - Method in interface org.apache.sling.hapi.client.HtmlClient
Method to create a new Document representation from an HTML content String
newDocument(String) - Method in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
newDocument(String) - Method in class org.apache.sling.hapi.client.impl.microdata.MicrodataHtmlClient
 
number() - Method in interface org.apache.sling.hapi.client.Item
 

O

org.apache.sling.hapi.client - package org.apache.sling.hapi.client
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.sling.hapi.client.forms.internal - package org.apache.sling.hapi.client.forms.internal
 
org.apache.sling.hapi.client.impl - package org.apache.sling.hapi.client.impl
 
org.apache.sling.hapi.client.impl.microdata - package org.apache.sling.hapi.client.impl.microdata
 

P

post(String, HttpEntity) - Method in interface org.apache.sling.hapi.client.HtmlClient
Performs a POST request.
post(String, HttpEntity) - Method in class org.apache.sling.hapi.client.impl.AbstractHtmlClientImpl
 
prop(String) - Method in interface org.apache.sling.hapi.client.Item
Returns the property of the item having the given name.
props() - Method in interface org.apache.sling.hapi.client.Item
Return a List of all the properties of this item.

S

set(NameValuePair) - Method in class org.apache.sling.hapi.client.forms.internal.Vals
 
src() - Method in interface org.apache.sling.hapi.client.Item
Returns the src value of the property.
submit(Iterable<NameValuePair>) - Method in interface org.apache.sling.hapi.client.Item
Submits this form item and returns a new Document representation

T

text() - Method in interface org.apache.sling.hapi.client.Item
Returns the text value of the property.
toMultipartEntity() - Method in class org.apache.sling.hapi.client.forms.internal.FormValues
 
toString() - Method in class org.apache.sling.hapi.client.forms.internal.FormValues
 
toString() - Method in class org.apache.sling.hapi.client.impl.microdata.MicrodataDocument
 
toUrlEncodedEntity() - Method in class org.apache.sling.hapi.client.forms.internal.FormValues
 

V

Vals - Class in org.apache.sling.hapi.client.forms.internal
 
Vals() - Constructor for class org.apache.sling.hapi.client.forms.internal.Vals
 
A B C D E F G H I L M N O P S T V 

Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.