static ResourceAddress getLowestTransportLayer(ResourceAddress transport) {
        if (transport.getTransport() != null) {
            return getLowestTransportLayer(transport.getTransport());
        }
        return transport;
    }
static ResourceAddress getLowestTransportLayer ( ResourceAddress transport ) { if ( transport . getTransport ( ) != null ) { return getLowestTransportLayer ( transport . getTransport ( ) ) ; } return transport ; }
Method returning lowest transport layer
@param transport
@return