File tree Expand file tree Collapse file tree 15 files changed +88
-23
lines changed Expand file tree Collapse file tree 15 files changed +88
-23
lines changed Original file line number Diff line number Diff line change 46
46
<modules >
47
47
<module >guava</module >
48
48
<module >jdeferred</module >
49
+ <module >registry</module >
49
50
</modules >
50
51
51
52
<dependencies >
Original file line number Diff line number Diff line change
1
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
+ <parent >
4
+ <groupId >org.asynchttpclient</groupId >
5
+ <artifactId >async-http-client-extras-parent</artifactId >
6
+ <version >2.0.0-SNAPSHOT</version >
7
+ </parent >
8
+ <modelVersion >4.0.0</modelVersion >
9
+ <artifactId >async-http-client-extras-registry</artifactId >
10
+ <name >Asynchronous Http Client Registry Extras</name >
11
+ <description >
12
+ The Async Http Client Registry Extras.
13
+ </description >
14
+
15
+
16
+ <dependencies >
17
+ <dependency >
18
+ <groupId >org.asynchttpclient</groupId >
19
+ <artifactId >async-http-client-netty-provider</artifactId >
20
+ <version >${project.version} </version >
21
+ <scope >test</scope >
22
+ </dependency >
23
+ <dependency >
24
+ <groupId >org.asynchttpclient</groupId >
25
+ <artifactId >async-http-client-grizzly-provider</artifactId >
26
+ <version >${project.version} </version >
27
+ <scope >test</scope >
28
+ </dependency >
29
+ </dependencies >
30
+ </project >
Original file line number Diff line number Diff line change 10
10
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
12
12
*/
13
- package org .asynchttpclient ;
13
+ package org .asynchttpclient . extra ;
14
14
15
- import org .asynchttpclient .util .AsyncImplHelper ;
15
+ import org .asynchttpclient .AsyncHttpClient ;
16
+ import org .asynchttpclient .AsyncHttpClientConfig ;
17
+ import org .asynchttpclient .AsyncHttpProvider ;
18
+ import org .asynchttpclient .DefaultAsyncHttpClient ;
16
19
import org .slf4j .Logger ;
17
20
import org .slf4j .LoggerFactory ;
18
21
Original file line number Diff line number Diff line change 10
10
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
12
12
*/
13
- package org .asynchttpclient ;
13
+ package org .asynchttpclient . extra ;
14
14
15
15
@ SuppressWarnings ("serial" )
16
16
public class AsyncHttpClientImplException extends RuntimeException {
Original file line number Diff line number Diff line change 10
10
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
12
12
*/
13
- package org .asynchttpclient ;
13
+ package org .asynchttpclient .extra ;
14
+
15
+ import org .asynchttpclient .AsyncHttpClient ;
14
16
15
17
import java .util .Set ;
16
18
@@ -79,4 +81,3 @@ public interface AsyncHttpClientRegistry {
79
81
80
82
void clearAllInstances ();
81
83
}
82
-
Original file line number Diff line number Diff line change 10
10
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
12
12
*/
13
- package org .asynchttpclient ;
13
+ package org .asynchttpclient . extra ;
14
14
15
- import org .asynchttpclient .util . AsyncImplHelper ;
15
+ import org .asynchttpclient .AsyncHttpClient ;
16
16
17
17
import java .util .Set ;
18
18
import java .util .concurrent .ConcurrentHashMap ;
Original file line number Diff line number Diff line change 10
10
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
12
12
*/
13
- package org .asynchttpclient .util ;
13
+ package org .asynchttpclient .extra ;
14
14
15
15
import org .asynchttpclient .AsyncHttpClient ;
16
- import org .asynchttpclient .AsyncHttpClientFactory ;
17
- import org .asynchttpclient .AsyncHttpClientImplException ;
18
16
19
17
import java .io .IOException ;
20
18
import java .io .InputStream ;
Original file line number Diff line number Diff line change 10
10
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
12
12
*/
13
- package org .asynchttpclient .providers . grizzly ;
13
+ package org .asynchttpclient .extra ;
14
14
15
- import org .asynchttpclient .AbstractAsyncHttpClientFactoryTest ;
16
15
import org .asynchttpclient .AsyncHttpClientConfig ;
17
16
import org .asynchttpclient .AsyncHttpProvider ;
17
+ import org .asynchttpclient .extra .AbstractAsyncHttpClientFactoryTest ;
18
+ import org .asynchttpclient .providers .grizzly .GrizzlyAsyncHttpProvider ;
18
19
import org .testng .annotations .Test ;
19
20
20
21
@ Test
Original file line number Diff line number Diff line change 10
10
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
12
12
*/
13
- package org .asynchttpclient .providers . netty ;
13
+ package org .asynchttpclient .extra ;
14
14
15
- import org .asynchttpclient .AbstractAsyncHttpClientFactoryTest ;
16
15
import org .asynchttpclient .AsyncHttpClientConfig ;
17
16
import org .asynchttpclient .AsyncHttpProvider ;
17
+ import org .asynchttpclient .extra .AbstractAsyncHttpClientFactoryTest ;
18
+ import org .asynchttpclient .providers .netty .NettyAsyncHttpProvider ;
18
19
import org .testng .annotations .Test ;
19
20
20
21
@ Test
Original file line number Diff line number Diff line change 10
10
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
12
12
*/
13
- package org .asynchttpclient ;
14
-
13
+ package org .asynchttpclient .extra ;
14
+
15
+ import org .asynchttpclient .AsyncHttpClient ;
16
+ import org .asynchttpclient .AsyncHttpClientConfig ;
17
+ import org .asynchttpclient .AsyncHttpProvider ;
18
+ import org .asynchttpclient .DefaultAsyncHttpClient ;
19
+ import org .asynchttpclient .Response ;
20
+ import org .asynchttpclient .TestAsyncHttpClient ;
21
+ import org .asynchttpclient .AsyncHttpClientConfig .Builder ;
15
22
import org .asynchttpclient .async .util .EchoHandler ;
16
23
import org .asynchttpclient .async .util .TestUtils ;
17
- import org .asynchttpclient .util .AsyncImplHelper ;
24
+ import org .asynchttpclient .extra .AsyncHttpClientFactory ;
25
+ import org .asynchttpclient .extra .AsyncHttpClientImplException ;
26
+ import org .asynchttpclient .extra .AsyncImplHelper ;
18
27
import org .eclipse .jetty .server .Server ;
19
28
import org .testng .Assert ;
20
29
import org .testng .annotations .AfterClass ;
23
32
import org .testng .annotations .Test ;
24
33
25
34
import java .lang .reflect .InvocationTargetException ;
35
+
26
36
import junit .extensions .PA ;
27
37
28
38
public abstract class AbstractAsyncHttpClientFactoryTest {
Original file line number Diff line number Diff line change 10
10
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
12
12
*/
13
- package org .asynchttpclient ;
13
+ package org .asynchttpclient . extra ;
14
14
15
- import org .asynchttpclient .util .AsyncImplHelper ;
15
+ import org .asynchttpclient .AsyncHttpClient ;
16
+ import org .asynchttpclient .extra .AsyncHttpClientFactory ;
17
+ import org .asynchttpclient .extra .AsyncHttpClientImplException ;
18
+ import org .asynchttpclient .extra .AsyncHttpClientRegistryImpl ;
19
+ import org .asynchttpclient .extra .AsyncImplHelper ;
16
20
import org .testng .Assert ;
17
21
import org .testng .annotations .AfterClass ;
18
22
import org .testng .annotations .BeforeClass ;
Original file line number Diff line number Diff line change 10
10
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
12
12
*/
13
- package org .asynchttpclient ;
13
+ package org .asynchttpclient .extra ;
14
+
15
+ import org .asynchttpclient .AsyncHandler ;
16
+ import org .asynchttpclient .AsyncHttpClient ;
17
+ import org .asynchttpclient .AsyncHttpClientConfig ;
18
+ import org .asynchttpclient .AsyncHttpProvider ;
19
+ import org .asynchttpclient .BoundRequestBuilder ;
20
+ import org .asynchttpclient .ListenableFuture ;
21
+ import org .asynchttpclient .Request ;
22
+ import org .asynchttpclient .Response ;
23
+ import org .asynchttpclient .SignatureCalculator ;
14
24
15
25
import java .io .IOException ;
16
26
Original file line number Diff line number Diff line change 10
10
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
12
12
*/
13
- package org .asynchttpclient ;
13
+ package org .asynchttpclient .extra ;
14
+
15
+ import org .asynchttpclient .extra .AsyncHttpClientImplException ;
14
16
15
17
@ SuppressWarnings ("serial" )
16
18
public class BadAsyncHttpClientException extends AsyncHttpClientImplException {
Original file line number Diff line number Diff line change 10
10
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
12
12
*/
13
- package org .asynchttpclient ;
13
+ package org .asynchttpclient .extra ;
14
+
15
+ import org .asynchttpclient .extra .AsyncHttpClientRegistryImpl ;
14
16
15
17
public class BadAsyncHttpClientRegistry extends AsyncHttpClientRegistryImpl {
16
18
Original file line number Diff line number Diff line change 10
10
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
12
12
*/
13
- package org .asynchttpclient ;
13
+ package org .asynchttpclient .extra ;
14
+
15
+ import org .asynchttpclient .extra .AsyncHttpClientRegistryImpl ;
14
16
15
17
public class TestAsyncHttpClientRegistry extends AsyncHttpClientRegistryImpl {
16
18
You can’t perform that action at this time.
0 commit comments