Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-142

RawResponseWriter - replace /admin/get-file.jsp

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.3
    • Admin UI
    • None

    Description

      A RawResponseWriter writes a ContentStream directly to the response.

      This is useful to spit back a file directly from solr. This implementation looks for a response property named "content" and sends it to the client. If it can't find one, it delegates the response to another ResponseWriter.

      As an example, I added a GetAdminFileRequestHandler to replace /admin/get-file.jsp

      Attachments

        1. SOLR-142-RawResponseWriter.patch
          17 kB
          Ryan McKinley
        2. SOLR-142-RawResponseWriter.patch
          17 kB
          Ryan McKinley
        3. SOLR-142-RawResponseWriter.patch
          18 kB
          Ryan McKinley
        4. SOLR-142-RawResponseWriter.patch
          5 kB
          Chris M. Hostetter
        5. SOLR-142-RawResponseWriter.patch
          3 kB
          Ryan McKinley
        6. SOLR-142-RawResponseWriter.patch
          47 kB
          Ryan McKinley
        7. SOLR-142-RawResponseWriter.patch
          16 kB
          Ryan McKinley

        Issue Links

          Activity

            People

              ryantxu Ryan McKinley
              ryantxu Ryan McKinley
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: