spring-framework / org.springframework.web.context.support / ServletContextPropertySource

ServletContextPropertySource

open class ServletContextPropertySource : EnumerablePropertySource<ServletContext>

PropertySource that reads init parameters from a ServletContext object.

Author
Chris Beams

Since
3.1

See Also
ServletConfigPropertySource

Constructors

<init>

ServletContextPropertySource(name: String, servletContext: ServletContext)

Functions

getProperty

open fun getProperty(name: String): String

getPropertyNames

open fun getPropertyNames(): Array<String>