@Controller @RequestMapping(value="/samples") public class SparqlSamplesController extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_SAMPLES_RESULT |
static String |
TEMPLATE_SAMPLES_RESULT |
Constructor and Description |
---|
SparqlSamplesController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.ModelAndView |
getSparqlEndpointForm(javax.servlet.http.HttpServletResponse response) |
void |
reload(javax.servlet.http.HttpServletResponse response) |
void |
shutDown() |
void |
startUp() |
public static final String ATTR_SAMPLES_RESULT
public static final String TEMPLATE_SAMPLES_RESULT
@PostConstruct public void startUp() throws FileNotFoundException, IOException, org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException
FileNotFoundException
IOException
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
@PreDestroy public void shutDown()
@RequestMapping(method=GET) public org.springframework.web.servlet.ModelAndView getSparqlEndpointForm(javax.servlet.http.HttpServletResponse response) throws IOException
IOException
@RequestMapping(value="/reload", method=GET) public void reload(javax.servlet.http.HttpServletResponse response) throws IOException, FileNotFoundException, org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException
IOException
FileNotFoundException
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
Copyright © 2015 SemaGrow - FP7. All rights reserved.