oracle.dbtools.plugin.api.servlet

## Interface EntityTag

- All Superinterfaces:
    CharSequence

      public interface EntityTag
      extends CharSequence

  `ETag` header values MUST conform to the syntax mandated in RFC 2616 section 3.11:

       entity-tag = [ weak ] opaque-tag
       weak       = "W/"
       opaque-tag = quoted-string

  See RFC 2616 section 2.2 for definition of the `quoted-string` production. Also see RFC 7230 section 3.2.6 which updates the definition of `quoted-string` to remove ambiguity about escaping within quoted strings.
  Author:
    cdivilly

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `EntityTag.Builder` Build an `EntityTag` instance
    `static class` | `EntityTag.Strength` The 'strength' of the ETag value: A "strong entity tag" MAY be shared by two entities of a resource only if they are equivalent by octet equality.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `EntityTag.Strength` | `strength()` The Entity Tag `EntityTag.Strength`
    `String` | `value()` The decoded value of the `EntityTag`, i.e.

    - ### Methods inherited from interface java.lang.CharSequence

      `charAt, chars, codePoints, length, subSequence, toString`

- - ### Method Detail

    - #### value

          String value()

      The decoded value of the `EntityTag`, i.e. the value with double-quotes removed and any escaped characters un-escaped.
      Returns:
        The decoded value

    - #### strength

          EntityTag.Strength strength()

      The Entity Tag `EntityTag.Strength`
      Returns:
        The `EntityTag.Strength` value

Copyright © 2010, 2022, Oracle and/or its affiliates.