org.exist.xquery.util
Class HTTPUtils
java.lang.Object
org.exist.xquery.util.HTTPUtils
public class HTTPUtils
- extends Object
A place holder for static utility functions related to HTTP.
- Author:
- jmv
HTTPUtils
public HTTPUtils()
addLastModifiedHeader
public static void addLastModifiedHeader(Sequence result,
XQueryContext context)
- Feature "Guess last modification time for an XQuery result";
the HTTP header Last-Modified is filled with most recent time stamp among all
XQuery documents appearing in the actual response.
Note however, that the actual response can be influenced, through tests in the query,
by documents more recent.
printStackTraceHTML
public static String printStackTraceHTML(Throwable e)
Copyright (C) Wolfgang Meier. All rights reserved.