Class Etag

java.lang.Object
org.jdrupes.httpcodec.types.Etag

public class Etag extends Object
Represents an ETag.
  • Constructor Details

    • Etag

      public Etag(String tag, boolean weak)
      Create a new ETag.
      Parameters:
      tag - the tag
      weak - if the tag is weak
  • Method Details

    • tag

      public String tag()
      Returns:
      the tag
    • isWeak

      public boolean isWeak()
      Returns:
      the weak