eXo JCR :: Applications :: Backup Console 1.16.6-GA

org.exoplatform.jcr.backupconsole
Interface ClientTransport

All Known Implementing Classes:
ClientTransportImpl

public interface ClientTransport

Created by The eXo Platform SAS.
Date:

Version:
$Id: ClientTransport.java 111 2008-11-11 11:11:11Z serg $
Author:
Karpenko Sergiy

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.
 

Method Detail

executePOST

BackupAgentResponse executePOST(String sURL,
                                String postData)
                                throws IOException,
                                       BackupExecuteException
Execute assigned sURL using current transport and return result as byte array.

Parameters:
sURL - String form of URL to execute.
postData - data for post request.
Returns:
BackupAgentResponce result.
Throws:
IOException - any transport exception.
BackupExecuteException - other internal exception.

executeGET

BackupAgentResponse executeGET(String sURL)
                               throws IOException,
                                      BackupExecuteException
Execute assigned sURL using current transport and return result as byte array.

Parameters:
sURL - String form of URL to execute, GET method.
Returns:
BackupAgentResponce result.
Throws:
IOException - any transport exception.
BackupExecuteException - other internal exception.

eXo JCR :: Applications :: Backup Console 1.16.6-GA

Copyright © 2016 eXo Platform SAS. All Rights Reserved.