HTTP.sendSecureRequest()

Signature

Event sendSecureRequest(String url, SimpleEvent requestEvent, String responseEventURI, Object clientIdKeystore, String clientIdPassword, Object trustedCertsKeystore, String trustedCertsPassword, boolean verifyHostName,long timeoutMillis)

Domain

Parameters

NameTypeDescription
urlStringThe URL for the endpoint.
requestEventSimpleEventThe input event to send
responseEventURIStringURI of event to be created once response received
clientIdKeystoreObjectKeystore Object for client identity, not required for 1 way SSL
clientIdPasswordStringPassword for client id keystore, not required for 1 way SSL
trustedCertsKeystoreObjectKeystore Object for trusted certificates
trustedCertsPasswordStringPassword for trusted certificates keystore
verifyHostNamebooleanflag for checking if a hostname matches the names stored inside the server's certificate
timeoutMillislongtime out for the operation, -1 signifies wait forever.

Returns

TypeDescription
Eventevent The response event