Commit d401e60a4728deaedcd829b5d461498598715cc3

Increased method visiblity in HttpRequestHandlingMessagingGateway - #INT-1958
spring-integration-http/src/main/java/org/springframework/integration/http/inbound/HttpRequestHandlingMessagingGateway.java
(3 / 3)
  
8888 * 'expectReply' property is true, it will also generate a response from the reply Message once received. That
8989 * response will be written by the {@link HttpMessageConverter}s.
9090 */
91 public final void handleRequest(HttpServletRequest servletRequest, HttpServletResponse servletResponse)
91 public void handleRequest(HttpServletRequest servletRequest, HttpServletResponse servletResponse)
9292 throws ServletException, IOException {
9393 Object responseContent = null;
9494 try {
109109 }
110110 }
111111
112 private Object handleExceptionInternal(Exception e) throws IOException {
112 protected Object handleExceptionInternal(Exception e) throws IOException {
113113 if (this.convertExceptions && isExpectReply()) {
114114 return e;
115115 }
127127 }
128128
129129 @SuppressWarnings({"unchecked", "rawtypes"})
130 private void writeResponse(Object content, ServletServerHttpResponse response, List<MediaType> acceptTypes) throws IOException {
130 protected void writeResponse(Object content, ServletServerHttpResponse response, List<MediaType> acceptTypes) throws IOException {
131131 if (CollectionUtils.isEmpty(acceptTypes)) {
132132 acceptTypes = Collections.singletonList(MediaType.ALL);
133133 }

Comments

Add a new comment:

Login or create an account to post a comment

Add your comment