| java.lang.Object org.openrdf.http.server.ProtocolUtil
ProtocolUtil | public class ProtocolUtil (Code) | | Utilities to help with the transition between HTTP requests/responses and
values expected by the protocol.
author: Herko ter Horst author: Arjohn Kampman |
Method Summary | |
public static S | getAcceptableService(HttpServletRequest request, HttpServletResponse response, FileFormatServiceRegistry<FF, S> serviceRegistry) | public static void | logAcceptableFormats(HttpServletRequest request) | public static void | logRequestParameters(HttpServletRequest request) Logs all request parameters of the supplied request. | public static boolean | parseBooleanParam(HttpServletRequest request, String paramName, boolean defaultValue) | public static Resource[] | parseContextParam(HttpServletRequest request, String paramName, ValueFactory vf) | public static Resource | parseResourceParam(HttpServletRequest request, String paramName, ValueFactory vf) | public static URI | parseURIParam(HttpServletRequest request, String paramName, ValueFactory vf) | public static Value | parseValueParam(HttpServletRequest request, String paramName, ValueFactory vf) |
logRequestParameters | public static void logRequestParameters(HttpServletRequest request)(Code) | | Logs all request parameters of the supplied request.
|
|
|