You can set HTTPS as the transport protocol that the OData client should use to communicate with any host (Example: Relay server).
public void enableHTTPS(boolean useHTTPS) throws ODPException
Set to "false", if the protocol to be used is HTTP.