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

by.stub.common.Common Maven / Gradle / Ivy

There is a newer version: 3.3.0
Show newest version
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