Examples of addParameter()


Examples of gri.gridp.modules.Module.addParameter()

      else if (name.equals("parameters")) {
        List parameters = paramSerializer.readList(child);
        for (int j = 0; j < parameters.size(); j++) {
          Parameter param = (Parameter)parameters.get(j);
          module.addParameter(param);
        }
      }

      else if (name.equals("outputs")) {
        List outputs = new ListSerializer(outputSerializer, "output").readList(child);

Examples of io.lumify.http.URLBuilder.addParameter()

    private void login(HttpServletRequest httpRequest, HttpServletResponse httpResponse, HandlerChain chain) throws IOException {
        String state = generateState();
        httpRequest.getSession().setAttribute(OAUTH_STATE_ATTR_NAME, state);

        URLBuilder authUrl = new URLBuilder(this.authorizationEndpoint);
        authUrl.addParameter("state", state);
        authUrl.addParameter("client_id", this.config.getKey());
        authUrl.addParameter("response_type", "code");
        authUrl.addParameter("scope", "openid email profile");
        authUrl.addParameter("redirect_uri", httpRequest.getRequestURL().toString());

Examples of it.eng.spagobi.engines.geo.dataset.provider.Link.addParameter()

        SourceBean parameterSB = (SourceBean)parameters.get(j);
        String type = (String)parameterSB.getAttribute("TYPE");
        String scope = (String)parameterSB.getAttribute("SCOPE");
        String name = (String)parameterSB.getAttribute("NAME");
        String value = (String)parameterSB.getAttribute("VALUE");
        link.addParameter(type, scope, name, value);
      }
     
      level.setLink(measure, link);
    }
  }

Examples of jade.gui.GuiEvent.addParameter()

    //If no df is selected, the df of the platform is used.
    if (editedDfd != null)
    { 
      GuiEvent ev = new GuiEvent((Object)gui,DFGUIAdapter.SEARCH);
      ev.addParameter(df);
      ev.addParameter(editedDfd);
      ev.addParameter(constraints);
      gui.myAgent.postGuiEvent(ev);
      gui.setTab("Search",df);
    }

Examples of javax.xml.rpc.Call.addParameter()

        Service service = ServiceFactory.newInstance().createService(null);
        Call    call    = service.createCall();

        call.setTargetEndpointAddress(opts.getURL());
        call.setOperationName(new QName("urn:cominfo", "getInfo"));
        call.addParameter("symbol", XMLType.XSD_STRING, ParameterMode.IN);
        call.addParameter("info", XMLType.XSD_STRING, ParameterMode.IN);
        call.setReturnType(XMLType.XSD_STRING);
        if(opts.getUser()!=null)
            call.setProperty(Call.USERNAME_PROPERTY, opts.getUser());
        if(opts.getPassword()!=null)

Examples of net.hasor.rsf.protocol.block.RequestSocketBlock.addParameter()

        //* byte[1]  paramCount                           参数总数
        byte paramCount = buf.readByte();
        for (int i = 0; i < paramCount; i++) {
            //* byte[4]  ptype-0-(attr-index,attr-index)  参数类型
            int mergeData = buf.readInt();
            req.addParameter(mergeData);
        }
        //* --------------------------------------------------------bytes =1 ~ 1021
        //* byte[1]  optionCount                          选项参数总数
        byte optionCount = buf.readByte();
        for (int i = 0; i < optionCount; i++) {

Examples of net.hasor.rsf.protocol.message.RequestMsg.addParameter()

        request.setServiceVersion("1.0.0");
        request.setServiceGroup("default");
        request.setTargetMethod("sayHello");//String item, int index
        request.setSerializeType("Hessian");
        //
        request.addParameter("java.lang.String", de.encode("你好..."));
        //
        request.addOption("sync", "true");
        //
        return request;
    }

Examples of net.java.sip.communicator.impl.protocol.jabber.extensions.jingle.PayloadTypePacketExtension.addParameter()

            format.getFormatParameters().entrySet())
        {
            ParameterPacketExtension ext = new ParameterPacketExtension();
            ext.setName(entry.getKey());
            ext.setValue(entry.getValue());
            ptExt.addParameter(ext);
        }
        for(Map.Entry<String, String> entry :
            format.getAdvancedAttributes().entrySet())
        {
            ParameterPacketExtension ext = new ParameterPacketExtension();

Examples of net.oauth.OAuthMessage.addParameter()

   private String getRequestURL(String consumerKey, String consumerSecret,
                                String callbackURI, String scope, String permission) throws Exception {
     OAuthMessage message = new OAuthMessage("GET", RequestTokenURL, Collections.<Map.Entry>emptyList());
     OAuthConsumer consumer = new OAuthConsumer(callbackURI, consumerKey, consumerSecret, null);
     OAuthAccessor accessor = new OAuthAccessor(consumer);
     message.addParameter(OAuth.OAUTH_CALLBACK, consumer.callbackURL);
     message.addParameter("xoauth_scope", scope);
     message.addParameter("xoauth_permission", permission);
     message.addRequiredParameters(accessor);
     return OAuth.addParameters(message.URL, message.getParameters());
   }

Examples of net.sf.jasperreports.engine.JRPrintHyperlinkParameters.addParameter()

          value = expressionEvaluator.evaluate(valueExpression, evaluationType);
          valueClass = valueExpression.getValueClass();
        }
       
        JRPrintHyperlinkParameter printParam = new JRPrintHyperlinkParameter(hyperlinkParameter.getName(), valueClass.getName(), value);
        printParameters.addParameter(printParam);
      }
    }
    return printParameters;
  }
 
TOP
Copyright © 2018 www.massapi.com. 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.