Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | About

21.3. Get

		
	@Autowired
	private TransportClient client;

	@RequestMapping(value = "/article/{articleId}")
	public GetResponse read(@PathVariable String articleId) {
		GetResponse response = client.prepareGet("information", "article", articleId).get();
		return response;
	}