You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/htroot/interaction_elements/Document_part.java

20 lines
611 B

package interaction_elements;
import net.yacy.cora.protocol.RequestHeader;
12 years ago
import net.yacy.server.serverObjects;
import net.yacy.server.serverSwitch;
public class Document_part {
public static serverObjects respond(@SuppressWarnings("unused") final RequestHeader header, final serverObjects post, @SuppressWarnings("unused") final serverSwitch env) {
final serverObjects prop = new serverObjects();
prop.put("hash", post.get("hash", ""));
prop.put("url", post.get("url", ""));
prop.put("action", post.get("action", ""));
return prop;
}
}