Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
a3f5cbc4
Commit
a3f5cbc4
authored
May 12, 2017
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polishing
parent
7a84a487
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
JerseyAutoConfigurationServletContainerTests.java
.../jersey/JerseyAutoConfigurationServletContainerTests.java
+4
-2
No files found.
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jersey/JerseyAutoConfigurationServletContainerTests.java
View file @
a3f5cbc4
/*
* Copyright 2012-201
6
the original author or authors.
* Copyright 2012-201
7
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -16,6 +16,8 @@
package
org
.
springframework
.
boot
.
autoconfigure
.
jersey
;
import
java.nio.charset.Charset
;
import
javax.ws.rs.GET
;
import
javax.ws.rs.Path
;
...
...
@@ -105,7 +107,7 @@ public class JerseyAutoConfigurationServletContainerTests {
jerseyServlet
.
setServlet
(
new
ServletContainer
());
jerseyServlet
.
setOverridable
(
false
);
context
.
addChild
(
jerseyServlet
);
String
pattern
=
UDecoder
.
URLDecode
(
"/*"
,
"UTF-8"
);
String
pattern
=
UDecoder
.
URLDecode
(
"/*"
,
Charset
.
forName
(
"UTF-8"
)
);
context
.
addServletMappingDecoded
(
pattern
,
servletName
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment