# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: /Users/ias/workspace/jsr311-api/src # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: javax/ws/rs/core/package-info.java --- javax/ws/rs/core/package-info.java Locally New +++ javax/ws/rs/core/package-info.java Locally New @@ -0,0 +1,5 @@ +/** + * Low-level interfaces and annotations used to create RESTful service + * resources. + */ +package javax.ws.rs.core; \ No newline at end of file Index: javax/ws/rs/core/package.html --- javax/ws/rs/core/package.html Base (BASE) +++ javax/ws/rs/core/package.html Locally Deleted @@ -1,12 +0,0 @@ - - - -
-Low-level interfaces and annotations used to create RESTful service - resources.
- - - Index: javax/ws/rs/ext/package-info.java --- javax/ws/rs/ext/package-info.java Locally New +++ javax/ws/rs/ext/package-info.java Locally New @@ -0,0 +1,4 @@ +/** + * APIs that provide extensions to the types supported by the JAX-RS API. + */ +package javax.ws.rs.ext; \ No newline at end of file Index: javax/ws/rs/ext/package.html --- javax/ws/rs/ext/package.html Base (BASE) +++ javax/ws/rs/ext/package.html Locally Deleted @@ -1,10 +0,0 @@ - - - - -APIs that provide extensions to the types supported by the JAX-RS API.
- - \ No newline at end of file Index: javax/ws/rs/package-info.java --- javax/ws/rs/package-info.java Locally New +++ javax/ws/rs/package-info.java Locally New @@ -0,0 +1,25 @@ +/** + * High-level interfaces and annotations used to create RESTful service + * resources. E.g.: ++@UriTemplate("widgets/{widgetid}") +@ConsumeMime("application/widgets+xml") +@ProduceMime("application/widgets+xml") +public class WidgetResource { + + @HttpMethod(GET) + public String getWidget(@UriParam("widgetid") String id) { + return getWidgetAsXml(id); + } + + @HttpMethod(PUT) + public void updateWidget(@UriParam("widgetid") String id, + Source update) { + updateWidgetFromXml(id, update); + } + + ... +} ++ */ +package javax.ws.rs; \ No newline at end of file Index: javax/ws/rs/package.html --- javax/ws/rs/package.html Base (BASE) +++ javax/ws/rs/package.html Locally Deleted @@ -1,29 +0,0 @@ - - - - -
High-level interfaces and annotations used to create RESTful service - resources. E.g.:
-@UriTemplate("widgets/{widgetid}") -@ConsumeMime("application/widgets+xml") -@ProduceMime("application/widgets+xml") -public class WidgetResource { - - @HttpMethod(GET) - public String getWidget(@UriParam("widgetid") String id) { - return getWidgetAsXml(id); - } - - @HttpMethod(PUT) - public void updateWidget(@UriParam("widgetid") String id, - Source update) { - updateWidgetFromXml(id, update); - } - - ... -}- -