Package railo.commons.io.res.type.http

Examples of railo.commons.io.res.type.http.HTTPResource


 
  @Override
  public int doStartTag() throws PageException {
    if(source instanceof HTTPResource) {
      HTTPResource httpSource = (HTTPResource)source;
      if(!StringUtil.isEmpty(proxyServer,true)){
        ProxyData data=new ProxyDataImpl(proxyServer,proxyPort,proxyUser,proxyPassword);
        httpSource.setProxyData(data);
      }
      if(!StringUtil.isEmpty(userAgent))
        httpSource.setUserAgent(userAgent);
      if(timeout>-1)httpSource.setTimeout(timeout*1000);
    }
   
    try {
      if(ACTION_CREATE==action)    doActionCreate();
      else if(ACTION_READ==actiondoActionRead();
View Full Code Here

TOP

Related Classes of railo.commons.io.res.type.http.HTTPResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.