|
GeoPubby
Version 0.1.0.0
|
Analyzes an HttpServletRequest to check for the presence of an ?output=n3 or =ttl or =rdfxml request parameter in the URI. More...

Classes | |
| class | WrappedRequest |
Public Member Functions | |
| RequestParamHandler (HttpServletRequest request) | |
| boolean | isMatchingRequest () |
| HttpServletRequest | getModifiedRequest () |
Static Public Member Functions | |
| static String | removeOutputRequestParam (String uri) |
| Removes the "output=foobar" part of a URI if present. More... | |
Static Package Functions | |
| [static initializer] | |
Private Member Functions | |
| String | identifyRequestedType (String parameterValue) |
Private Attributes | |
| final HttpServletRequest | request |
| final String | requestedType |
Static Private Attributes | |
| static final String | ATTRIBUTE_NAME_IS_HANDLED |
| static final Map< String, String > | mimeTypes = new HashMap<String,String>() |
Analyzes an HttpServletRequest to check for the presence of an ?output=n3 or =ttl or =rdfxml request parameter in the URI.
If present, returns a modified HttpServletRequest that has the appropriate MIME type in the Accept: header. This request can then be fed into the rest of our content negotiation based tooling.
| RequestParamHandler | ( | HttpServletRequest | request | ) |
References RequestParamHandler.identifyRequestedType(), RequestParamHandler.request, and RequestParamHandler.requestedType.
|
staticpackage |
| HttpServletRequest getModifiedRequest | ( | ) |
Referenced by ModelResponse.ModelResponse().
|
private |
References RequestParamHandler.mimeTypes.
Referenced by RequestParamHandler.RequestParamHandler().
| boolean isMatchingRequest | ( | ) |
References RequestParamHandler.ATTRIBUTE_NAME_IS_HANDLED, RequestParamHandler.request, and RequestParamHandler.requestedType.
Referenced by ModelResponse.ModelResponse().
|
static |
Removes the "output=foobar" part of a URI if present.
|
staticprivate |
Referenced by RequestParamHandler.isMatchingRequest(), and RequestParamHandler.WrappedRequest.WrappedRequest().
|
staticprivate |
|
private |
|
private |