Package com.jeck.microblogging.server

Source Code of com.jeck.microblogging.server.MakeFriendService

package com.jeck.microblogging.server;

import java.io.IOException;
import java.util.List;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.jeck.microblogging.persistence.entities.User;
import com.jeck.microblogging.utils.StoreServiceDAO;

public class MakeFriendService extends HttpServlet {
  /**
   *
   */
  private static final long serialVersionUID = 7424226060086357007L;
 
  @Override
  protected void doGet(HttpServletRequest req, HttpServletResponse resp)
      throws ServletException, IOException {
    StoreServiceDAO dao = new StoreServiceDAO();
    List<User> users = dao.findList(User.class);
    if (users!=null){
      for (User user : users) {
       
      }
    }
  }
 
 

}
TOP

Related Classes of com.jeck.microblogging.server.MakeFriendService

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.