Class JspDispatcher.Builder
java.lang.Object
org.apache.juneau.rest.server.view.jsp.JspDispatcher.Builder
- Enclosing class:
- JspDispatcher
Builder for
JspDispatcher.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()Constructor — package access forJspDispatcher.create(). -
Method Summary
Modifier and TypeMethodDescriptionSets the classpath / webapp base path under which.jspresources are resolved.build()Builds theJspDispatcher.Reads the current base path setting (test/inspection helper).
-
Constructor Details
-
Builder
protected Builder()Constructor — package access forJspDispatcher.create().
-
-
Method Details
-
basePath
Sets the classpath / webapp base path under which.jspresources are resolved.- Parameters:
value- The base path.nullor blank values reset to the defaultJspDispatcher.DEFAULT_BASE_PATH.- Returns:
- This object.
-
getBasePath
Reads the current base path setting (test/inspection helper).- Returns:
- The base path. Never
null.
-
build
Builds theJspDispatcher.- Returns:
- A new
JspDispatcherinstance.
-