@Deprecated public class ClientAtomService extends AtomService
com.rometools.rome.propono.atom.common.Collection class to add a getEntry()
method and to return com.rometools.rome.propono.atom.client.ClientWorkspace objects
instead of common com.rometools.rome.propono.atom.common.Workspaces.| Modifier and Type | Field and Description |
|---|---|
private AuthStrategy |
authStrategy
Deprecated.
|
private org.apache.commons.httpclient.HttpClient |
httpClient
Deprecated.
|
private static org.slf4j.Logger |
LOG
Deprecated.
|
private java.lang.String |
uri
Deprecated.
|
ATOM_FORMAT, ATOM_PROTOCOL| Constructor and Description |
|---|
ClientAtomService(java.lang.String uri,
AuthStrategy authStrategy)
Deprecated.
Create Atom blog service instance for specified URL and user account.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addAuthentication(org.apache.commons.httpclient.HttpMethodBase method)
Deprecated.
|
private org.jdom2.Document |
getAtomServiceDocument()
Deprecated.
|
(package private) AuthStrategy |
getAuthStrategy()
Deprecated.
|
ClientEntry |
getEntry(java.lang.String uri)
Deprecated.
Get full entry from service by entry edit URI.
|
(package private) org.apache.commons.httpclient.HttpClient |
getHttpClient()
Deprecated.
Package access to httpClient.
|
private void |
parseAtomServiceDocument(org.jdom2.Document document)
Deprecated.
Deserialize an Atom service XML document into an object
|
addWorkspace, documentToService, findWorkspace, getWorkspaces, serviceToDocument, setWorkspacesprivate static final org.slf4j.Logger LOG
private java.lang.String uri
private org.apache.commons.httpclient.HttpClient httpClient
private AuthStrategy authStrategy
ClientAtomService(java.lang.String uri,
AuthStrategy authStrategy)
throws ProponoException
url - End-point URL of Atom serviceProponoExceptionpublic ClientEntry getEntry(java.lang.String uri) throws ProponoException
ProponoExceptionvoid addAuthentication(org.apache.commons.httpclient.HttpMethodBase method)
throws ProponoException
ProponoExceptionAuthStrategy getAuthStrategy()
private org.jdom2.Document getAtomServiceDocument()
throws ProponoException
ProponoExceptionprivate void parseAtomServiceDocument(org.jdom2.Document document)
throws ProponoException
ProponoExceptionorg.apache.commons.httpclient.HttpClient getHttpClient()