Uploaded image for project: 'aaa'
  1. aaa
  2. AAA-233

Validate web-api constructs

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: High High
    • 0.17.0
    • None
    • General

      FilterDetails, ServletDetails and other interfaces have sorely under-documented attributes, like urlPatterns. Their semantics are related to the servlet spec, but that connection is not explicitly stated and, worse, validity of attribute values is not checked at all.

      Thoroughly document each attribute, including links to their semantics and allowed value formats, as most of them are plain Strings.

      Also make sure values are checked during build-time – either by turning interfaces into abstract classes with a Value.Check annotation, or by ditching immutables.org completely.

            ojo Oleksandr Zharov
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: