Class JaxRsUrlResolverProvider
- java.lang.Object
-
- org.soulwing.prospecto.jaxrs.runtime.JaxRsUrlResolverProvider
-
- All Implemented Interfaces:
UrlResolverProvider
public class JaxRsUrlResolverProvider extends Object implements UrlResolverProvider
AUrlResolverProviderdesigned for use in a web application that utilizes JAX-RS in a standardServletContext.- Author:
- Carl Harris
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_PATHConfiguration property that provides the JAX-RS application pathstatic StringSERVLET_CONTEXTConfiguration property that provides the JAX-RS ServletContext
-
Constructor Summary
Constructors Constructor Description JaxRsUrlResolverProvider()JaxRsUrlResolverProvider(ResourceDiscoveryService resourceDiscoveryService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()UrlResolvergetResolver()voidinit(Map<String,Object> properties)
-
-
-
Field Detail
-
SERVLET_CONTEXT
public static final String SERVLET_CONTEXT
Configuration property that provides the JAX-RS ServletContext- See Also:
- Constant Field Values
-
APPLICATION_PATH
public static final String APPLICATION_PATH
Configuration property that provides the JAX-RS application path- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JaxRsUrlResolverProvider
public JaxRsUrlResolverProvider()
-
JaxRsUrlResolverProvider
public JaxRsUrlResolverProvider(ResourceDiscoveryService resourceDiscoveryService)
-
-
Method Detail
-
init
public void init(Map<String,Object> properties)
- Specified by:
initin interfaceUrlResolverProvider
-
destroy
public void destroy()
- Specified by:
destroyin interfaceUrlResolverProvider
-
getResolver
public UrlResolver getResolver()
- Specified by:
getResolverin interfaceUrlResolverProvider
-
-