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.
20 lines
611 B
20 lines
611 B
package interaction_elements;
|
|
|
|
import net.yacy.cora.protocol.RequestHeader;
|
|
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;
|
|
}
|
|
}
|