Class ConfigView
- java.lang.Object
-
- org.eclipse.rdf4j.http.server.repository.config.ConfigView
-
- All Implemented Interfaces:
org.springframework.web.servlet.View
public class ConfigView extends Object implements org.springframework.web.servlet.View
View used to export a repository config. Renders the statements as RDF using a serialization specified using a parameter or Accept header.- Author:
- Jeen Broekstra
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIG_DATA_KEY
static String
FORMAT_KEY
static String
HEADERS_ONLY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
static ConfigView
getInstance()
void
render(Map model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-
-
Field Detail
-
CONFIG_DATA_KEY
public static final String CONFIG_DATA_KEY
- See Also:
- Constant Field Values
-
FORMAT_KEY
public static final String FORMAT_KEY
- See Also:
- Constant Field Values
-
HEADERS_ONLY
public static final String HEADERS_ONLY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static ConfigView getInstance()
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceorg.springframework.web.servlet.View
-
-