Package org.kohsuke.stapler.jsp
Class JSPFacet
java.lang.Object
org.kohsuke.stapler.Facet
org.kohsuke.stapler.jsp.JSPFacet
@MetaInfServices
public class JSPFacet
extends org.kohsuke.stapler.Facet
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(org.kohsuke.stapler.MetaClass owner, List<org.kohsuke.stapler.Dispatcher> dispatchers) jakarta.servlet.RequestDispatchercreateRequestDispatcher(org.kohsuke.stapler.RequestImpl request, org.kohsuke.stapler.lang.Klass type, Object it, String viewName) booleanhandleIndexRequest(org.kohsuke.stapler.RequestImpl req, org.kohsuke.stapler.ResponseImpl rsp, Object node, org.kohsuke.stapler.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
public void buildViewDispatchers(org.kohsuke.stapler.MetaClass owner, List<org.kohsuke.stapler.Dispatcher> dispatchers) - Specified by:
buildViewDispatchersin classorg.kohsuke.stapler.Facet
-
createRequestDispatcher
public jakarta.servlet.RequestDispatcher createRequestDispatcher(org.kohsuke.stapler.RequestImpl request, org.kohsuke.stapler.lang.Klass type, Object it, String viewName) throws IOException - Overrides:
createRequestDispatcherin classorg.kohsuke.stapler.Facet- Throws:
IOException
-
handleIndexRequest
public boolean handleIndexRequest(org.kohsuke.stapler.RequestImpl req, org.kohsuke.stapler.ResponseImpl rsp, Object node, org.kohsuke.stapler.MetaClass nodeMetaClass) throws IOException, jakarta.servlet.ServletException - Specified by:
handleIndexRequestin classorg.kohsuke.stapler.Facet- Throws:
IOExceptionjakarta.servlet.ServletException
-