Revision 37871 branches/v2_0_0_prep/applications/appCatalog/src/org/gvsig/catalog/protocols/HTTPGetProtocol.java
HTTPGetProtocol.java | ||
---|---|---|
45 | 45 |
import java.util.Collection; |
46 | 46 |
|
47 | 47 |
import org.apache.commons.httpclient.NameValuePair; |
48 |
import org.slf4j.Logger; |
|
49 |
import org.slf4j.LoggerFactory; |
|
50 |
|
|
48 | 51 |
import org.gvsig.catalog.metadataxml.XMLTree; |
49 | 52 |
import org.gvsig.remoteclient.utils.Utilities; |
50 | 53 |
|
... | ... | |
56 | 59 |
* @author Jorge Piera Llodra (piera_jor@gva.es) |
57 | 60 |
*/ |
58 | 61 |
public class HTTPGetProtocol implements IProtocols { |
59 |
|
|
62 |
private static final Logger LOG = |
|
63 |
LoggerFactory.getLogger(HTTPGetProtocol.class); |
|
64 |
|
|
60 | 65 |
/** |
61 | 66 |
* |
62 | 67 |
* |
... | ... | |
79 | 84 |
"catalog-", null); |
80 | 85 |
|
81 | 86 |
} catch (Exception e) { |
82 |
return null; |
|
87 |
LOG.error("Error sending the request", e); |
|
88 |
return null; |
|
83 | 89 |
} |
84 | 90 |
|
85 | 91 |
Collection col = new java.util.ArrayList(); |
Also available in: Unified diff