Package org.kohsuke.stapler.jsp
Class JSPFacet
java.lang.Object
org.kohsuke.stapler.Facet
org.kohsuke.stapler.jsp.JSPFacet
Facet that adds JSP file support.- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields inherited from class org.kohsuke.stapler.Facet
ALLOW_VIEW_NAME_PATH_TRAVERSAL, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildViewDispatchers(MetaClass owner, List<Dispatcher> dispatchers) jakarta.servlet.RequestDispatchercreateRequestDispatcher(RequestImpl request, Klass type, Object it, String viewName) booleanhandleIndexRequest(RequestImpl req, ResponseImpl rsp, Object node, MetaClass nodeMetaClass) Methods inherited from class org.kohsuke.stapler.Facet
buildFallbackDispatchers, buildIndexDispatchers, createRequestDispatcher, createRequestDispatcher, createValidatingDispatcher, discover, discoverExtensions, getExtensionSuffix, getKlass, handleIndexRequest, isBasename
-
Constructor Details
-
JSPFacet
public JSPFacet()
-
-
Method Details
-
buildViewDispatchers
- Specified by:
buildViewDispatchersin classFacet
-
createRequestDispatcher
public jakarta.servlet.RequestDispatcher createRequestDispatcher(RequestImpl request, Klass type, Object it, String viewName) throws IOException - Overrides:
createRequestDispatcherin classFacet- Throws:
IOException
-
handleIndexRequest
public boolean handleIndexRequest(RequestImpl req, ResponseImpl rsp, Object node, MetaClass nodeMetaClass) throws IOException, jakarta.servlet.ServletException - Specified by:
handleIndexRequestin classFacet- Throws:
IOExceptionjakarta.servlet.ServletException
-