149150151152153154155156157158159
if (definition.getTimeoutMs() > 0) { HttpTimeoutThread timeoutThread = new HttpTimeoutThread(outputThread, definition.getTimeoutMs()); timeoutThread.start(); } outputThread.join(); result.setOutput(outputThread.composeActionOutput()); return result; }