/** * Extract additional ftp client options from the parameters map (parameters starting with * 'ftpClient.'). To remember these parameters, we set them in the endpoint and we can use them * when creating a client. */ protected void extractAndSetFtpClientParameters(Map<String, Object> parameters, FtpEndpoint<FTPFile> answer) { if (IntrospectionSupport.hasProperties(parameters, "ftpClient.")) { Map<String, Object> param = IntrospectionSupport.extractProperties(parameters, "ftpClient."); answer.setFtpClientParameters(param); } }
/** * Extract additional ftp client key store options from the parameters map (parameters starting with * 'ftpClient.keyStore.'). To remember these parameters, we set them in the endpoint and we can use * them when creating a client. */ protected void extractAndSetFtpClientKeyStoreParameters(Map<String, Object> parameters, FtpsEndpoint endpoint) { if (IntrospectionSupport.hasProperties(parameters, "ftpClient.keyStore.")) { Map<String, Object> param = IntrospectionSupport.extractProperties(parameters, "ftpClient.keyStore."); endpoint.setFtpClientKeyStoreParameters(param); } }
/** * Extract additional ftp client trust store options from the parameters map (parameters starting with * 'ftpClient.trustStore.'). To remember these parameters, we set them in the endpoint and we can use * them when creating a client. */ protected void extractAndSetFtpClientTrustStoreParameters(Map<String, Object> parameters, FtpsEndpoint endpoint) { if (IntrospectionSupport.hasProperties(parameters, "ftpClient.trustStore.")) { Map<String, Object> param = IntrospectionSupport.extractProperties(parameters, "ftpClient.trustStore."); endpoint.setFtpClientTrustStoreParameters(param); } }
/** * Extract additional ftp client configuration options from the parameters map (parameters starting with * 'ftpClientConfig.'). To remember these parameters, we set them in the endpoint and we can use them * when creating a client. */ protected void extractAndSetFtpClientConfigParameters(Map<String, Object> parameters, FtpEndpoint<FTPFile> answer) { if (IntrospectionSupport.hasProperties(parameters, "ftpClientConfig.")) { Map<String, Object> param = IntrospectionSupport.extractProperties(parameters, "ftpClientConfig."); answer.setFtpClientConfigParameters(param); } }