public class GetUrl extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GetUrl.CommonsHttpClient |
static class |
GetUrl.Request |
static class |
GetUrl.Response |
Modifier and Type | Field and Description |
---|---|
static boolean |
commonsAvailable |
static org.apache.log4j.Logger |
LOGGER |
Constructor and Description |
---|
GetUrl() |
Modifier and Type | Method and Description |
---|---|
static String |
getUrl(String url) |
static String |
getUrl(String url,
Properties requestProperties) |
static String |
getUrl(String url,
String userName,
String password) |
static void |
main(String[] args) |
static GetUrl.Response |
service(GetUrl.Request request) |
public static final org.apache.log4j.Logger LOGGER
public static final boolean commonsAvailable
public static void main(String[] args)
public static String getUrl(String url, String userName, String password) throws IOException
IOException
public static String getUrl(String url, Properties requestProperties) throws IOException
IOException
public static String getUrl(String url) throws IOException
IOException
public static GetUrl.Response service(GetUrl.Request request) throws IOException
IOException
© 1998- 2021 Escenic AS