|
|
@ -16,6 +16,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
package org.springframework.boot.autoconfigure.jersey;
|
|
|
|
package org.springframework.boot.autoconfigure.jersey;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.nio.charset.Charset;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.ws.rs.GET;
|
|
|
|
import javax.ws.rs.GET;
|
|
|
|
import javax.ws.rs.Path;
|
|
|
|
import javax.ws.rs.Path;
|
|
|
|
|
|
|
|
|
|
|
@ -103,7 +105,7 @@ public class JerseyAutoConfigurationServletContainerTests {
|
|
|
|
jerseyServlet.setServlet(new ServletContainer());
|
|
|
|
jerseyServlet.setServlet(new ServletContainer());
|
|
|
|
jerseyServlet.setOverridable(false);
|
|
|
|
jerseyServlet.setOverridable(false);
|
|
|
|
context.addChild(jerseyServlet);
|
|
|
|
context.addChild(jerseyServlet);
|
|
|
|
String pattern = UDecoder.URLDecode("/*", "UTF-8");
|
|
|
|
String pattern = UDecoder.URLDecode("/*", Charset.forName("UTF-8"));
|
|
|
|
context.addServletMappingDecoded(pattern, servletName);
|
|
|
|
context.addServletMappingDecoded(pattern, servletName);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|