Interface Tag.TagSource<T>

Type Parameters:
T - type of the tag
Enclosing class:
Tag<T>

public static interface Tag.TagSource<T>
Tag source (a type that can create tags). Use by Tag.HTTP_METHOD and other constants to easily create new tags.
  • Method Summary

    Modifier and Type
    Method
    Description
    Tag<? super T>
    create(T value)
    Create a tag with value.
  • Method Details

    • create

      Tag<? super T> create(T value)
      Create a tag with value.
      Parameters:
      value - value of the tag
      Returns:
      tag instance