Revision 33738 branches/v2_0_0_prep/libraries/libRemoteServices/src/org/gvsig/remoteclient/wms/wms_1_1_0/request/WMSGetFeatureInfoRequest1_1_0.java
WMSGetFeatureInfoRequest1_1_0.java | ||
---|---|---|
27 | 27 |
|
28 | 28 |
package org.gvsig.remoteclient.wms.wms_1_1_0.request; |
29 | 29 |
|
30 |
import org.gvsig.compat.CompatLocator; |
|
31 |
import org.gvsig.compat.lang.StringUtils; |
|
30 | 32 |
import org.gvsig.remoteclient.utils.CapabilitiesTags; |
31 | 33 |
import org.gvsig.remoteclient.utils.Utilities; |
32 | 34 |
import org.gvsig.remoteclient.wms.WMSProtocolHandler; |
... | ... | |
37 | 39 |
* @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a> |
38 | 40 |
*/ |
39 | 41 |
public class WMSGetFeatureInfoRequest1_1_0 extends WMSGetFeatureInfoRequest{ |
40 |
|
|
41 |
public WMSGetFeatureInfoRequest1_1_0(WMSStatus status, |
|
42 |
|
|
43 |
private static final StringUtils stringUtils = CompatLocator.getStringUtils(); |
|
44 |
|
|
45 |
public WMSGetFeatureInfoRequest1_1_0(WMSStatus status, |
|
42 | 46 |
WMSProtocolHandler protocolHandler, int x, int y) { |
43 | 47 |
super(status, protocolHandler, x, y); |
44 | 48 |
} |
... | ... | |
58 | 62 |
//we set it to avoid the bug in mapserver that takes this number like max number of total features. |
59 | 63 |
req.append("&FEATURE_COUNT=10000"); |
60 | 64 |
req.append("&EXCEPTIONS=" + getExceptionsFormat()); |
61 |
return req.toString().replaceAll(" ", "%20");
|
|
65 |
return stringUtils.replaceAll(req.toString(), " ", "%20");
|
|
62 | 66 |
} |
63 | 67 |
|
64 | 68 |
/** |
Also available in: Unified diff