All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.brutusin.demo.IdempotentUnSafeAction Maven / Gradle / Ivy

The newest version!
package org.brutusin.demo;

import org.brutusin.rpc.http.UnsafeAction;


public class IdempotentUnSafeAction extends UnsafeAction {

    @Override
    public String execute(String s) throws Exception {
        return "Received '"+s+"' in an idempotent unsafe action (only allows POST and PUT requests)";
    }

    @Override
    public boolean isIdempotent() {
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy