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 3636 * @author Eddú Meléndez
3737 * @author Brian Clozel
3838 * @author Vedran Pavic
39+ * @author daewon kim
3940 * @since 2.0.0
4041 */
4142@ ConfigurationProperties ("spring.mvc" )
@@ -91,6 +92,8 @@ public class WebMvcProperties {
9192
9293 private final View view = new View ();
9394
95+ private final Jsp jsp = new Jsp ();
96+
9497 private final Contentnegotiation contentnegotiation = new Contentnegotiation ();
9598
9699 private final Pathmatch pathmatch = new Pathmatch ();
@@ -177,6 +180,10 @@ public View getView() {
177180 return this .view ;
178181 }
179182
183+ public Jsp getJsp () {
184+ return this .jsp ;
185+ }
186+
180187 public Contentnegotiation getContentnegotiation () {
181188 return this .contentnegotiation ;
182189 }
@@ -300,6 +307,36 @@ public void setSuffix(String suffix) {
300307
301308 }
302309
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+
303340 public static class Contentnegotiation {
304341
305342 /**
You can’t perform that action at this time.
0 commit comments