org.brutusin.demo.UnSafeAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rpc-examples Show documentation
Show all versions of rpc-examples Show documentation
Examples of Brutusin-RPC component implementations
package org.brutusin.demo;
import org.brutusin.rpc.http.UnsafeAction;
public class UnSafeAction extends UnsafeAction {
@Override
public String execute(Void input) throws Exception {
return "You a have successfully executed an action that only allows POST requests (since it is defined as unsafe)!";
}
}