@Override public void handlePut(Operation put) { if (put.hasPragmaDirective(Operation.PRAGMA_DIRECTIVE_POST_TO_PUT)) { // converted PUT due to IDEMPOTENT_POST option logInfo("Task has already started. Ignoring converted PUT."); put.complete(); return; } // normal PUT is not supported put.fail(Operation.STATUS_CODE_BAD_METHOD); }