Phillip Webb
8b59503291
Validate server.servlet.path does not contain '*'
...
Update `WebMvcProperties` to enforce that `server.servlet.path` never
contains a wildcard ['*'] character.
Closes gh-13292
2018-10-04 19:45:41 -07:00
Andy Wilkinson
e0d67ae703
Avoid Atmosphere using a null URL to create a URLClassLoader
...
Unlike Java 8, 9, and 10, Java 11 does not tolerate a null URL being
used to create a URLClassLoader. The Atmosphere sample looks for
a resource named /WEB-INF/classes which only exists in a packaged
war application. In all other cases the resulting URL is null.
Atmosphere uses this to create a URLClassLoader which fails on Java
11.
This commit updates the sample to customize the handlers path. There
are other web application-specific assumptions in Atmosphere, such as
the scanning of WEB-INF/lib by default. This change appears to get
the sample going, but we should, perhaps, consider removing it in the
longer term, particularly as Boot itself has no Atmosphere
integration.
See gh-14028
2018-08-15 08:34:24 +01:00
Phillip Webb
1b91c0ceb7
Merge branch '2.0.x'
2018-07-29 09:29:57 +01:00
Phillip Webb
0ec22c8bf9
Polish copyright date on changed files
2018-07-29 09:29:29 +01:00
Phillip Webb
80da9cf5eb
Merge branch '2.0.x'
2018-07-29 09:28:56 +01:00
Phillip Webb
aeb885192e
Polish ternary expressions
2018-07-29 09:24:46 +01:00
Phillip Webb
d8157c94f3
Merge branch '2.0.x'
2018-05-25 19:48:37 -07:00
Phillip Webb
21d80d87a3
Merge branch '1.5.x' into 2.0.x
2018-05-25 18:45:37 -07:00
Phillip Webb
e69296d7d3
Fix checkstyle violations in samples
2018-05-25 18:18:00 -07:00
Stephane Nicoll
93c45cb6ec
Move server.servlet.path to spring.mvc.servlet.path
...
Closes gh-12971
2018-05-14 12:24:38 +02:00
Phillip Webb
adfb6dc128
Polish
2018-01-25 13:20:29 -08:00
Madhura Bhave
d65f9b25bc
Remove redundant throws Exception
2018-01-25 17:25:38 +05:30
Johnny Lim
6d54072e04
Remove "final" keywords
...
Closes gh-11294
2017-12-08 11:13:07 -08:00
Johnny Lim
6168fae720
Remove explicit type arguments
...
See gh-10494
2017-10-24 14:44:20 +01:00
jfarcand
9dbc3e25bb
Upgrade sample to Atmosphere 2.4.14
...
Closes gh-10447
2017-09-29 16:28:22 +02:00
Madhura Bhave
c2e5fd031a
Replace usage of WebMvcConfigurerAdapter
...
Closes gh-8964
2017-04-24 15:31:39 -07:00
Phillip Webb
d8f827d224
Cleanup and format code
2017-03-06 17:08:09 -08:00
Andy Wilkinson
df08863641
Make ServletRegistrationBean and FilterRegistration bean generic
...
Closes gh-7666
2017-02-09 13:36:35 +00:00
Brian Clozel
12d883f6b9
Introduce "server.servlet" configuration prefix
...
This commit refactors the `ServerProperties` property keys and
introduces a separate "server.servlet" namespace to isolate
servlet-specific properties from the rest.
Closes gh-8066
2017-02-07 16:48:22 +01:00
Phillip Webb
609cb52cd4
Move to relocated web classes
...
Refactor code to move from recently deprecated classes.
Closes gh-5822
2016-04-28 12:45:15 -07:00
Phillip Webb
4d404b214c
Migrate away from @SpringApplicationConfiguration
...
Refactor internal tests to no longer use @SpringApplicationConfiguration
See gh-5562
2016-04-04 22:36:57 -07:00
Phillip Webb
1e4d974ec0
Merge remote-tracking branch 'local12x/1.2.x'
2015-10-19 12:56:55 -07:00
Phillip Webb
a79131f8d2
Organize imports with new settings
...
See gh-4234
2015-10-19 12:55:44 -07:00
Phillip Webb
e473364e4e
Merge branch '1.2.x'
2015-10-07 23:34:08 -07:00
Phillip Webb
6ab376e2e8
Reformat code use Eclipse Mars
2015-10-07 23:32:31 -07:00
Phillip Webb
0335053139
Merge branch '1.2.x'
2015-09-08 14:37:16 -07:00
Phillip Webb
15686ed4fd
Reformat code
2015-09-08 14:07:06 -07:00
Phillip Webb
1ce617f1ae
Polish sample package names
2015-06-23 00:47:12 -07:00
Phillip Webb
43d577aa4c
Add Atmosphere sample application
...
Add Atmosphere example application based on
http://github.com/Atmosphere/atmosphere-samples/tree/master/samples/chat
Closes gh-2341
2015-01-13 15:42:14 -08:00