|
eXo JCR :: Applications :: Backup Console 1.16.6-GA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.exoplatform.jcr.backupconsole.ClientTransportImpl
public class ClientTransportImpl
Created by The eXo Platform SAS.
Date:
| Constructor Summary | |
|---|---|
ClientTransportImpl(FormAuthentication formAuthentication,
String host,
String protocol)
Constructor. |
|
ClientTransportImpl(String login,
String password,
String host,
String protocol)
Constructor. |
|
| Method Summary | |
|---|---|
BackupAgentResponse |
executeGET(String sURL)
Execute assigned sURL using current transport and return result as byte array. |
BackupAgentResponse |
executePOST(String sURL,
String postData)
Execute assigned sURL using current transport and return result as byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientTransportImpl(String login,
String password,
String host,
String protocol)
login - Login string.password - Password string.host - host string.
public ClientTransportImpl(FormAuthentication formAuthentication,
String host,
String protocol)
formAuthentication - form authentication parameters.login - Login string.password - Password string.host - host string.| Method Detail |
|---|
public BackupAgentResponse executePOST(String sURL,
String postData)
throws IOException,
BackupExecuteException
executePOST in interface ClientTransportsURL - String form of URL to execute.postData - data for post request.
IOException - any transport exception.
BackupExecuteException - other internal exception.
public BackupAgentResponse executeGET(String sURL)
throws IOException,
BackupExecuteException
executeGET in interface ClientTransportsURL - String form of URL to execute, GET method.
IOException - any transport exception.
BackupExecuteException - other internal exception.
|
eXo JCR :: Applications :: Backup Console 1.16.6-GA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||