mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +02:00
3197ca42ed
- move the header framework classes to cora - move the ARC caching classes to cora - refactoring of code to call these classes from cora git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7068 6c8d7289-2bf4-0310-a012-ef5d649a1542
25 lines
714 B
Java
25 lines
714 B
Java
|
|
|
|
import net.yacy.cora.protocol.RequestHeader;
|
|
import de.anomic.server.serverObjects;
|
|
import de.anomic.server.serverSwitch;
|
|
import de.anomic.yacy.yacyBuildProperties;
|
|
|
|
public class version {
|
|
|
|
public static serverObjects respond(final RequestHeader header, final serverObjects post, final serverSwitch env) {
|
|
// return variable that accumulates replacements
|
|
final serverObjects prop = new serverObjects();
|
|
|
|
prop.put("versionstring", yacyBuildProperties.getLongVersion());
|
|
prop.put("svnRev", yacyBuildProperties.getSVNRevision());
|
|
prop.put("buildDate", yacyBuildProperties.getBuildDate());
|
|
// return rewrite properties
|
|
return prop;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|