APISonar


net.yacy.cora.protocol.RequestHeader.FileType.XML

> net > yacy > cora > protocol > RequestHeader > FileType > XML
net APIs yacy APIs cora APIs protocol APIs RequestHeader APIs FileType APIs XML APIs

Example 1
public void putUrlEncoded(final RequestHeader.FileType fileType, final String key, final String value) {
		if (fileType == FileType.JSON) {
			putJSON(key, value == null ? "" : value);
		} else if (fileType == FileType.XML) {
			putXML(key, value == null ? "" : value);
		} else {
			putUrlEncodedHTML(key, value == null ? "" : value);
		}
	}