by.stub.common.Common Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stubby4j Show documentation
Show all versions of stubby4j Show documentation
HTTP stub server written in Java with embedded Jetty
package by.stub.common;
import org.eclipse.jetty.http.HttpMethod;
import java.util.HashSet;
import java.util.Set;
public final class Common {
private Common() {
}
public static final Set POSTING_METHODS = new HashSet() {{
add(HttpMethod.PUT.asString());
add(HttpMethod.POST.asString());
}};
public static final String HEADER_APPLICATION_JSON = "application/json";
public static final String HEADER_APPLICATION_XML = "application/xml";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy