Package chirp.model

Examples of chirp.model.Timestamp


  @GET
  @Path("{timestamp}")
  @Produces(MediaType.APPLICATION_JSON)
  public PostRepresentation getPost(@PathParam("username") String username, @PathParam("timestamp") String timestamp) {
    Post post = userRepository.getUser(username).getPost(new Timestamp(timestamp));
    return new PostRepresentation(post, false);
  }
View Full Code Here

TOP

Related Classes of chirp.model.Timestamp

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.