comparison src/main/java/de/intevation/artifacts/httpclient/http/HttpClient.java @ 1:c9ac6642973c

Renamed GNVClient and GNVClientImpl to HttpClient and HttpClientImpl. http-client/trunk@1324 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 17 Feb 2011 10:51:37 +0000
parents
children 2fdfa20cfa63
comparison
equal deleted inserted replaced
0:a1db30b33f43 1:c9ac6642973c
1 /*
2 * Copyright (c) 2010 by Intevation GmbH
3 *
4 * This program is free software under the LGPL (>=v2.1)
5 * Read the file LGPL.txt coming with the software for details
6 * or visit http://www.gnu.org/licenses/ if it does not exist.
7 */
8 package de.intevation.artifacts.httpclient.http;
9
10 import java.io.OutputStream;
11
12 import org.w3c.dom.Document;
13
14 import de.intevation.artifacts.httpclient.exceptions.ConnectionException;
15 import de.intevation.artifacts.httpclient.http.response.ResponseHandler;
16 import de.intevation.artifacts.httpclient.objects.Artifact;
17 import de.intevation.artifacts.httpclient.objects.ArtifactFactory;
18
19 /**
20 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
21 */
22 public interface HttpClient {
23
24 ArtifactFactory[] getArtifactFactories()
25 throws ConnectionException;
26
27 Artifact create(Document createDocument)
28 throws ConnectionException;
29
30 Object describe(
31 Artifact artifact,
32 Document describeDocument,
33 ResponseHandler handler)
34 throws ConnectionException;
35
36 Object feed(Artifact artifact, Document feedDocument, ResponseHandler handler)
37 throws ConnectionException;
38
39 Object advance(
40 Artifact artifact,
41 Document advanceDocument,
42 ResponseHandler handler)
43 throws ConnectionException;
44
45 void out(
46 Artifact artifact,
47 Document outDocument,
48 String target,
49 OutputStream out)
50 throws ConnectionException;
51 }
52 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8:

http://dive4elements.wald.intevation.org