|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfr.paris.lutece.util.httpaccess.HttpAccess
public class HttpAccess
Http net Object Accessor
| Constructor Summary | |
|---|---|
HttpAccess()
|
|
| Method Summary | |
|---|---|
java.lang.String |
doGet(java.lang.String strUrl)
Send a GET HTTP request to an Url and return the response content. |
void |
downloadFile(java.lang.String strUrl,
java.lang.String strFilePath)
Send a GET HTTP request to an Url and return the response content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpAccess()
| Method Detail |
|---|
public java.lang.String doGet(java.lang.String strUrl)
throws HttpAccessException
strUrl - The Url to access
HttpAccessException - if there is a problem to access to the given Url
public void downloadFile(java.lang.String strUrl,
java.lang.String strFilePath)
throws HttpAccessException
strUrl - The Url to access
HttpAccessException - if there is a problem to access to the given Url
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||