Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-1958

Http Adapter - Make HttpRequestHandlingEndpointSupport public

    Details

      Description

      In working on the AsyncHttp Adapter, I would like to extend the existing Http Adapter. More specifically, I would like to extend org.springframework.integration.http.inbound.HttpRequestHandlingMessagingGateway.

      However, several methods within that class have restricted visiblity. Would it be possible to make the following 3 changes?

      in "org.springframework.integration.http.inbound.HttpRequestHandlingMessagingGateway"

      change:
      "private void writeResponse(Object content, ServletServerHttpResponse response, List<MediaType> acceptTypes) throws IOException

      {...}"

      to
      "protected void writeResponse(Object content, ServletServerHttpResponse response, List<MediaType> acceptTypes) throws IOException {...}

      "

      change:
      "private Object handleExceptionInternal(Exception e) throws IOException

      {...}"

      to:
      "protected Object handleExceptionInternal(Exception e) throws IOException {...}

      "

      change:
      "public final void handleRequest(HttpServletRequest servletRequest, HttpServletResponse servletResponse)

      {...}

      "

      to:
      "public void handleRequest(HttpServletRequest servletRequest, HttpServletResponse servletResponse) {}"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hillert Gunnar Hillert
                Reporter:
                hillert Gunnar Hillert
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0.5d
                  0.5d
                  Remaining:
                  Remaining Estimate - 0.5d
                  0.5d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified