Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-151 Implement full slider API in REST and switch client to it
  3. SLIDER-881

REST clients to react to text/plain & text/html responses with meaningful errors

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Slider 0.80
    • Fix Version/s: Slider 2.0.0
    • Component/s: Web & REST
    • Labels:
      None
    • Sprint:
      Slider December #1

      Description

      When a REST call returns text/plain or text/html, Jersey triggers a "no handler for this mime type" message, which is then interpreted as a REST client problem. It's not: its at the far end or in the RM proxy.

      Ideally jersey can be set up to handle these responses specially. Otherwise the error escalation could at least recognise the string (ugly) and raise an error message saying "point your browser at the far end"

        Attachments

          Activity

            People

            • Assignee:
              stevel@apache.org Steve Loughran
              Reporter:
              stevel@apache.org Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: