Class Atom

java.lang.Object
com.google.api.client.xml.atom.Atom

@Beta public final class Atom extends Object
Beta
Atom Utilities.
Since:
1.0
  • Field Details

  • Constructor Details

    • Atom

      private Atom()
  • Method Details

    • checkContentType

      public static void checkContentType(String contentType)
      Checks the given content type matches the Atom content type specified in MEDIA_TYPE.
      Throws:
      IllegalArgumentException - if content type doesn't match
    • setSlugHeader

      public static void setSlugHeader(HttpHeaders headers, String value)
      Sets the "Slug" header, properly escaping the header value. See The Slug Header.
      Since:
      1.14