File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 36
36
* @author Eddú Meléndez
37
37
* @author Brian Clozel
38
38
* @author Vedran Pavic
39
+ * @author daewon kim
39
40
* @since 2.0.0
40
41
*/
41
42
@ ConfigurationProperties ("spring.mvc" )
@@ -91,6 +92,8 @@ public class WebMvcProperties {
91
92
92
93
private final View view = new View ();
93
94
95
+ private final Jsp jsp = new Jsp ();
96
+
94
97
private final Contentnegotiation contentnegotiation = new Contentnegotiation ();
95
98
96
99
private final Pathmatch pathmatch = new Pathmatch ();
@@ -177,6 +180,10 @@ public View getView() {
177
180
return this .view ;
178
181
}
179
182
183
+ public Jsp getJsp () {
184
+ return this .jsp ;
185
+ }
186
+
180
187
public Contentnegotiation getContentnegotiation () {
181
188
return this .contentnegotiation ;
182
189
}
@@ -300,6 +307,36 @@ public void setSuffix(String suffix) {
300
307
301
308
}
302
309
310
+ public static class Jsp {
311
+
312
+ /**
313
+ * Spring MVC jsp prefix.
314
+ */
315
+ private String prefix ;
316
+
317
+ /**
318
+ * Spring MVC jsp suffix.
319
+ */
320
+ private String suffix ;
321
+
322
+ public String getPrefix () {
323
+ return this .prefix ;
324
+ }
325
+
326
+ public void setPrefix (String prefix ) {
327
+ this .prefix = prefix ;
328
+ }
329
+
330
+ public String getSuffix () {
331
+ return this .suffix ;
332
+ }
333
+
334
+ public void setSuffix (String suffix ) {
335
+ this .suffix = suffix ;
336
+ }
337
+
338
+ }
339
+
303
340
public static class Contentnegotiation {
304
341
305
342
/**
You can’t perform that action at this time.
0 commit comments