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

com.activitystream.aspects.RequestMethod Maven / Gradle / Ivy

Go to download

For a description please see https://github.com/activitystream/as-sdk-java

There is a newer version: 0.5.8
Show newest version
package com.activitystream.aspects;

public enum RequestMethod {
    GET, POST, DELETE, PUT;

    @Override
    public String toString() {
        if (this == GET) return "GET";
        if (this == POST) return "POST";
        if (this == PUT) return "PUT";
        if (this == DELETE) return "DELETE";
        throw new RuntimeException("unhandled action of timed action");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy