Package com.jcabi.manifests
Class JakartaServletMfs
java.lang.Object
com.jcabi.manifests.JakartaServletMfs
- All Implemented Interfaces:
Mfs
Manifests in servlet context.
Append attributes from the web application
MANIFEST.MF
.
You can use this class in your own
Filter
or
ServletContextListener
,
in order to inject MANIFEST.MF
attributes to the class:
Manifests.append(new JakartaServletMfs(context));
The class is thread-safe.
- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JakartaServletMfs
public JakartaServletMfs(jakarta.servlet.ServletContext context) Ctor.- Parameters:
context
- Context
-
-
Method Details
-
fetch
Description copied from interface:Mfs
Find and fetch them all.- Specified by:
fetch
in interfaceMfs
- Returns:
- Iterator of found resources
- Throws:
IOException
- If fails
-