java.lang.Object
org.apache.jena.fuseki.main.sys.JettyLib
Helpers for working with Jetty.
SecurityHandler
UserStore userStore = JettyLib.makeUserStore(...); SecurityHandler securityHandler = JettyLib.makeSecurityHandler(String pathSpec, String realm, UserStore userStore);
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addHandler
(org.eclipse.jetty.server.Server server, org.eclipse.jetty.server.Handler handler) Add or append aHandler
to a JettyServer
.static org.eclipse.jetty.server.HttpConfiguration
HTTP configuration with setting for Fuseki workload.static org.eclipse.jetty.util.resource.Resource
newResource
(String filename) Create a resource for a filenamestatic void
setMimeTypes
(org.eclipse.jetty.ee10.servlet.ServletContextHandler context) Add the RDF MIME Type mappings
-
Constructor Details
-
JettyLib
public JettyLib()
-
-
Method Details
-
addHandler
public static void addHandler(org.eclipse.jetty.server.Server server, org.eclipse.jetty.server.Handler handler) Add or append aHandler
to a JettyServer
. -
setMimeTypes
public static void setMimeTypes(org.eclipse.jetty.ee10.servlet.ServletContextHandler context) Add the RDF MIME Type mappings -
httpConfiguration
public static org.eclipse.jetty.server.HttpConfiguration httpConfiguration()HTTP configuration with setting for Fuseki workload. No "secure" settings. -
newResource
Create a resource for a filename
-