Make spring-cloud-function-adapter-aws-web depend on base module

This commit is contained in:
Oleg Zhurakousky
2023-03-06 18:54:52 +01:00
parent dbf362b7fe
commit 0c82bca08a
12 changed files with 44 additions and 2450 deletions

View File

@@ -111,7 +111,6 @@ public class ProxyHttpServletRequest implements HttpServletRequest {
/** List of locales in descending order. */
private final LinkedList<Locale> locales = new LinkedList<>();
private boolean asyncStarted = false;
private boolean asyncSupported = false;
@@ -168,7 +167,6 @@ public class ProxyHttpServletRequest implements HttpServletRequest {
private final MultiValueMap<String, Part> parts = new LinkedMultiValueMap<>();
public ProxyHttpServletRequest(ServletContext servletContext, String method, String requestURI) {
this.servletContext = servletContext;
this.method = method;
@@ -318,11 +316,11 @@ public class ProxyHttpServletRequest implements HttpServletRequest {
@Override
public int read() throws IOException {
int readByte = stream.read();
if (readByte == -1) {
finished = true;
}
return readByte;
int readByte = stream.read();
if (readByte == -1) {
finished = true;
}
return readByte;
}
@Override

View File

@@ -41,8 +41,6 @@ import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.ObjectUtils;
import org.springframework.web.context.ConfigurableWebApplicationContext;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.AnnotationConfigWebApplicationContext;
import org.springframework.web.context.support.GenericWebApplicationContext;
import org.springframework.web.servlet.DispatcherServlet;