Package org.vertx.java.core.json

Examples of org.vertx.java.core.json.JsonObject.removeField()


          ReplyException cause = (ReplyException) ar.cause();
          resp.fail(cause.failureCode(), cause.getMessage());
          return;
        }
        JsonObject result = ar.result();
        result.removeField(Key.SNAPSHOT);
        resp.reply(result);
      }
    });
  }
}
View Full Code Here


      Collaborator collaborator =
          new CollaboratorImpl(anonymousUsers.getUserId(), sessionId, displyName,
                                  anonymousUsers.getColor(), false, true,
                                  anonymousUsers.getPhotoUrl(displyName));
      toRtn = new JsonObject(JacksonUtil.<JreJsonObject>convert(collaborator).toNative());
      toRtn.removeField(Key.IS_ME);
      collaborators.put(sessionId, toRtn);
    }
    return toRtn;
  }
}
View Full Code Here

                if (ttl == 0) {
                    ttl = null;
                }

                // do not pass these on to send(); that could confuse things
                msgProps.removeField("correlationId");
                msgProps.removeField("timeToLive");
            }

            rpcCallbackHandler.addMultiResponseCorrelation(
                correlationId,
View Full Code Here

                    ttl = null;
                }

                // do not pass these on to send(); that could confuse things
                msgProps.removeField("correlationId");
                msgProps.removeField("timeToLive");
            }

            rpcCallbackHandler.addMultiResponseCorrelation(
                correlationId,
                ebCorrelationId,
View Full Code Here

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.