@ -375,8 +376,9 @@ public class MockHttpServletResponse implements HttpServletResponse {
@@ -375,8 +376,9 @@ public class MockHttpServletResponse implements HttpServletResponse {
@ -162,7 +162,6 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
@@ -162,7 +162,6 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
@ -176,13 +175,9 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
@@ -176,13 +175,9 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
returnMono.error(newUnsupportedOperationException("Cannot read multipart request body into single Part"));
}
@ -196,16 +191,16 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
@@ -196,16 +191,16 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
@ -228,10 +223,13 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
@@ -228,10 +223,13 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
@ -248,24 +246,32 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
@@ -248,24 +246,32 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
this.listener.onError("Failure while parsing part["+index+"]",ex);
}
}
}
@Override
protectedvoidhookFinally(SignalTypetype){
try{
this.parser.close();
if(this.parser!=null){
this.parser.close();
}
}
catch(IOExceptionex){
this.listener.onError("Error while closing parser",ex);
if(this.listener!=null){
this.listener.onError("Error while closing parser",ex);
}
}
}
@ -279,9 +285,9 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
@@ -279,9 +285,9 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
@ -289,7 +295,6 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
@@ -289,7 +295,6 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
privatelongpartSize;
publicintgetCurrentPartIndex(){
returnthis.index;
}
@ -338,7 +343,6 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
@@ -338,7 +343,6 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
@ -347,7 +351,6 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
@@ -347,7 +351,6 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
@ -375,8 +376,9 @@ public class MockHttpServletResponse implements HttpServletResponse {
@@ -375,8 +376,9 @@ public class MockHttpServletResponse implements HttpServletResponse {