|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.rss.util.http.HttpAccess
public class HttpAccess
Http net Object Accessor
Properties read here:
.proxyHost : The host proxy to
use for http access..proxyPort : The port proxy to
use for http access..proxyUserName : The proxy username to
use for http access..proxyPassword : The proxy password to
use for http access..hostName : The host name to
use for http access..domainName : The domain name to
use for http access..realm : The realm to
use for http access..defaultEncoding : Encoding to
use if no encoding will be give in the HTTP header..defaultBufferSize : Default
buffer size to use if no length will be give in the HTTP header.
| 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 |
init(java.lang.String strConfigPropertiesPrefix)
Initialize the object |
| 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 void init(java.lang.String strConfigPropertiesPrefix)
strConfigPropertiesPrefix - The prefix of all configuration properties needed by the Http client
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||