Class WorkbenchGateway
java.lang.Object
org.eclipse.rdf4j.workbench.base.AbstractServlet
org.eclipse.rdf4j.workbench.proxy.WorkbenchGateway
- All Implemented Interfaces:
 javax.servlet.Servlet
All requests are serviced by this Servlet, though it usually delegates to other Servlets.
- 
Field Summary
FieldsFields inherited from class AbstractServlet
ACCEPT, appConfig, APPLICATION_JAVASCRIPT, APPLICATION_SPARQL_RESULTS_XML, APPLICATION_XML, config, DEFAULT_JSONP_CALLBACK_PARAMETER, JSONP_CALLBACK_PARAMETER, JSONP_ENABLED, JSONP_VALIDATOR, log, MOZILLA, MSIE, SERVER_PASSWORD, SERVER_USER, SERVER_USER_PASSWORD, TEXT_HTML, TEXT_PLAIN, USER_AGENT - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Returns the value of the default-server configuration variable.voidinit(javax.servlet.ServletConfig config) booleanWhether the server path is fixed, which is when the change-server-path configuration value is not set.voidservice(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) Methods inherited from class AbstractServlet
checkJSONP, getBooleanResultFormat, getJSONPResultFormat, getResultWriter, getServletConfig, getServletInfo, getTupleResultBuilder, getTupleResultFormat, service 
- 
Field Details
- 
TRANSFORMATIONS
- See Also:
 
 
 - 
 - 
Constructor Details
- 
WorkbenchGateway
public WorkbenchGateway() 
 - 
 - 
Method Details
- 
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException - Specified by:
 initin interfacejavax.servlet.Servlet- Overrides:
 initin classAbstractServlet- Throws:
 javax.servlet.ServletException
 - 
destroy
public void destroy()- Specified by:
 destroyin interfacejavax.servlet.Servlet- Overrides:
 destroyin classAbstractServlet
 - 
getChangeServerPath
 - 
getDefaultServerPath
Returns the value of the default-server configuration variable. Often, this is simply a relative path on the same HTTP server.- Returns:
 - the path to the default Sesame server instance
 
 - 
isServerFixed
public boolean isServerFixed()Whether the server path is fixed, which is when the change-server-path configuration value is not set.- Returns:
 - true, if the change-server-path configuration variable is not set, meaning that changing the server is blocked
 
 - 
service
public void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException - Overrides:
 servicein classAbstractServlet- Throws:
 javax.servlet.ServletExceptionIOException
 
 -