List of usage examples for com.squareup.okhttp FormEncodingBuilder FormEncodingBuilder
FormEncodingBuilder
From source file:practica2.Cola.java
private void btnEncolarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEncolarActionPerformed String numero = txtEncolar.getText(); RequestBody formBody = new FormEncodingBuilder().add("numero", numero).build(); String r = getString("queue", formBody); System.out.println(r + "---"); }
From source file:practica2.Cola.java
private void btnDesencolarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnDesencolarActionPerformed RequestBody formBody = new FormEncodingBuilder().add("numero", "").build(); String r = getString("dequeue", formBody); System.out.println(r + "---"); }
From source file:practica2.Lista.java
private void btnInsertarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnInsertarActionPerformed String palabra = txtInsertar.getText(); RequestBody formBody = new FormEncodingBuilder().add("palabra", palabra).build(); String r = getString("insertarLista", formBody); System.out.println(r + "---"); }
From source file:practica2.Lista.java
private void btnBorrarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnBorrarActionPerformed String palabra = txtBorrar.getText(); RequestBody formBody = new FormEncodingBuilder().add("palabra", palabra).build(); String r = getString("borrarLista", formBody); System.out.println(r + "---"); }
From source file:practica2.Lista.java
private void btnBuscarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnBuscarActionPerformed String palabra = txtBuscar.getText(); RequestBody formBody = new FormEncodingBuilder().add("palabra", palabra).build(); String r = getString("buscarLista", formBody); System.out.println(r + "----"); }
From source file:practica2.Matriz.java
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed String correo = txtInsertar.getText(); RequestBody formBody = new FormEncodingBuilder().add("correo", correo).build(); String r = getString("insertarmatriz", formBody); System.out.println(r + "---"); }
From source file:practica2.Matriz.java
private void btnEliminarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEliminarActionPerformed String correo = txtEliminar.getText(); RequestBody formBody = new FormEncodingBuilder().add("correo", correo).build(); String r = getString("eliminarmatriz", formBody); System.out.println(r + "---"); }
From source file:practica2.Matriz.java
private void btnBuscarLetraActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnBuscarLetraActionPerformed String letra = txtBuscarLetra.getText(); RequestBody formBody = new FormEncodingBuilder().add("letra", letra).build(); String r = getString("buscarletra", formBody); System.out.println(r + "---"); }
From source file:practica2.Matriz.java
private void btnBuscarDominioActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnBuscarDominioActionPerformed String dominio = txtBuscarDominio.getText(); RequestBody formBody = new FormEncodingBuilder().add("dominio", dominio).build(); String r = getString("buscardominio", formBody); System.out.println(r + "---"); }
From source file:practica2.Pila.java
private void btnPushActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnPushActionPerformed String numero = txtPush.getText(); RequestBody formBody = new FormEncodingBuilder().add("numero", numero).build(); String r = getString("push", formBody); System.out.println(r + "---"); }