XGFan
3/23/2016 - 1:24 AM

Java

Java

Depending on the spring.jersey.type property value either Jersey Servlet or Filter is registered as a Spring Bean:

Mapping servlet: 'jerseyServlet' to [/*]

The default mapping path can be changed via javax.ws.rs.ApplicationPath annotation added to ResourceConfig configuration class:

@Configuration
@ApplicationPath("/jersey")
public class JerseyConfig extends ResourceConfig {}
java -Djava.security.egd=file:/dev/./urandom