List al = new ArrayList();
al.add("application/vnd.ogc.wms_xml");
setFormats(FMT_GETCAPS, al);
al.clear();
al.add(HttpConnection.CONTENT_PLAIN);
al.add(HttpConnection.CONTENT_HTML);
// TODO: support other formats like application/vnd.ogc.gml and text/xml?
// TODO: configurable or perhaps gettable from the FeatureInfoResponse
setFormats(FMT_GETFEATUREINFO, al);