List of usage examples for com.squareup.okhttp FormEncodingBuilder FormEncodingBuilder
FormEncodingBuilder
From source file:practica2s12017_201403877.Pila.java
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed //Pop/*from w ww . ja va2s . c o m*/ String numero = "5"; RequestBody formBody = new FormEncodingBuilder().add("dato", numero).build(); String r = getString("SacarPila", formBody); jTextField1.setText(""); jLabel2.setText("Estado -> " + r); System.out.println(r); g.generarGrafica("C:\\txt\\pila.txt", "pila"); }
From source file:practica2s12017_201503935.Cola.java
public void incertar(String num) { RequestBody formBody = new FormEncodingBuilder().add("dato", num).build(); String r = getString("AgregarCola", formBody); System.out.println(r);//from w w w .ja v a2s .c o m String r2 = getString2("listarCola"); System.out.println(r2); }
From source file:practica2s12017_201503935.Lista.java
public void incertar(String num) { RequestBody formBody = new FormEncodingBuilder().add("dato", num).build(); String r = getString("AgregarLista", formBody); System.out.println(r);// ww w .j a v a 2 s. co m String r2 = getString2("listarLis"); System.out.println(r2); }
From source file:practica2s12017_201503935.Lista.java
public void buscar(String num) { RequestBody formBody = new FormEncodingBuilder().add("dato", num).build(); String r = getString("buscarLista", formBody); System.out.println(r);//from ww w . j av a 2 s . c o m String r2 = getString2("listarLis"); System.out.println(r2); }
From source file:practica2s12017_201503935.Lista.java
public void eliminar(String num) { RequestBody formBody = new FormEncodingBuilder().add("dato", num).build(); String r = getString("eliminarLis", formBody); System.out.println(r);/*from w w w.ja va2 s . co m*/ String r2 = getString2("listarLis"); System.out.println(r2); }
From source file:practica2s12017_201503935.Matriz.java
public void incertar(String dom, String letra, String dato) { RequestBody formBody = new FormEncodingBuilder().add("dato", dom).add("dato1", letra).add("dato2", dato) .build();//from www . j av a2s. com String r = getString("incertarmat", formBody); System.out.println(r); }
From source file:practica2s12017_201503935.Pila.java
public void incertar(String num) { RequestBody formBody = new FormEncodingBuilder().add("dato", num).build(); String r = getString("AgregarPila", formBody); System.out.println(r);//from www.ja v a 2s. c o m String r2 = getString2("listarPila"); System.out.println(r2); }
From source file:practica2_201314795.Cols.java
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed String dato = this.jTextField1.getText().toString(); RequestBody formBody = new FormEncodingBuilder().add("numero", dato).build(); String encolar = getString("Encolar", formBody); System.out.println(encolar);/*from ww w.j av a2 s . c o m*/ this.jTextField1.setText(""); }
From source file:practica2_201314795.Cols.java
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed String dato = "0"; RequestBody formBody = new FormEncodingBuilder().add("numero", dato).build(); String retirar = getString("Desencolar", formBody); System.out.println(retirar); // TODO add your handling code here: }
From source file:practica2_201314795.ListaSimple.java
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed String palabra = this.jTextField1.getText().toString(); RequestBody formBody = new FormEncodingBuilder().add("palabra", palabra).build(); String agregado = getString("insertarNodoLista", formBody); System.out.println(agregado); this.jTextField1.setText(""); // TODO add your handling code here: }