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

Validate web-api constructs

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • High
    • Resolution: Done
    • None
    • 0.17.0
    • General

    Description

      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.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: