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

RawResponseWriter - replace /admin/get-file.jsp

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: Admin UI
    • Labels:
      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
          16 kB
          Ryan McKinley
        2. SOLR-142-RawResponseWriter.patch
          47 kB
          Ryan McKinley
        3. SOLR-142-RawResponseWriter.patch
          3 kB
          Ryan McKinley
        4. SOLR-142-RawResponseWriter.patch
          5 kB
          Hoss Man
        5. SOLR-142-RawResponseWriter.patch
          18 kB
          Ryan McKinley
        6. SOLR-142-RawResponseWriter.patch
          17 kB
          Ryan McKinley
        7. SOLR-142-RawResponseWriter.patch
          17 kB
          Ryan McKinley

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: