Java org.springframework.web.context.support ServletContextResource fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.context.support ServletContextResource fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.context.support ServletContextResource.

The text is from its open source code.

Constructor

Method

booleanexists()
This implementation checks ServletContext.getResource .
FilegetFile()
This implementation resolves "file:" URLs or alternatively delegates to ServletContext.getRealPath , throwing a FileNotFoundException if not found or not resolvable.
InputStreamgetInputStream()
This implementation delegates to ServletContext.getResourceAsStream , but throws a FileNotFoundException if no resource found.
StringgetPath()
Return the path for this resource.
ServletContextgetServletContext()
Return the ServletContext for this resource.