- 博客(4)
- 资源 (9)
- 收藏
- 关注
原创 JDK7之Java Watch Service API监控文件变化
示例代码/* * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provide
2015-03-03 21:10:54 5734 2
原创 Java Restful Web Services (三)——方法注解
Rest与HTTP的区别是什么?HTTP是一种应用协议,而Rest是一套规则,在目前来说,我们仅仅使用了HTTP协议中最常见的GET和POST方法,而REST是一种教我们如何使用HTTP协议的一种方式,REST方式就是教会我们使用HTTP协议中所定义的所有方法。以下演示JAX-RS所定义的这些资源方法指示符注解包括@GET, @PUT, @POST, @DELETE等等。import java
2015-03-03 21:01:52 9186
原创 Java Restful Web Services (二)——参数注解2
示例@Context及@CookieParam注解 (以下示例参考自韩陆所著《Java RESTful Web Service实战》)import javax.ws.rs.GET;import javax.ws.rs.Path;import javax.ws.rs.Produces;import javax.ws.rs.core.*;import java.util.Iterator;
2015-03-02 20:28:55 3580
原创 Java Restful Web Services (二)——参数注解1
本章主要介绍Jersey各种不同的参数注解Parameters of a resource method may be annotated with parameter-based annotations to extract information from a request. One of the previous examples presented the use of @Pat
2015-03-02 20:19:24 8399
3DES加密算法源码
2015-01-21
C++ Builder 汉诺塔算法动态演示系统
2009-03-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人