[Java] Interface RestMessageExchange