Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | daniel-mar | 1 | package de.viathinksoft.utils.http; |
2 | |||
3 | /** |
||
4 | * This factory produces a HttpUtil instance. |
||
5 | * The instance is only created once. |
||
6 | * @author Daniel Marschall |
||
7 | */ |
||
8 | |||
9 | public class HttpFactory { |
||
10 | |||
11 | static HttpUtils instance = new HttpUtils(); |
||
12 | |||
13 | public static HttpUtils getInstance() { |
||
14 | return instance; |
||
15 | } |
||
16 | |||
17 | private HttpFactory() { |
||
18 | } |
||
19 | |||
20 | } |