翻訳と辞書
Words near each other
・ Java War (disambiguation)
・ Java Web Services Development Pack
・ Java Web Start
・ Java Work Framework
・ Java XML
・ Java, Montana
・ Java, New York
・ Java, South Dakota
・ Java, São Tomé and Príncipe
・ Java, Virginia
・ Java-class cruiser
・ Java-eiland
・ Java-gnome
・ Java.net
・ JavaBeans
Java API for RESTful Web Services
・ Java API for XML Messaging
・ Java API for XML Processing
・ Java API for XML Registries
・ Java API for XML Web Services
・ Java API for XML-based RPC
・ Java APIs for Bluetooth
・ Java APIs for Integrated Networks
・ Java applet
・ Java Architecture for XML Binding
・ Java Astrodynamics Toolkit
・ Java Authentication and Authorization Service
・ Java AWT Native Interface
・ Java backporting tools
・ Java barb


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Java API for RESTful Web Services : ウィキペディア英語版
Java API for RESTful Web Services

JAX-RS: Java API for RESTful Web Services (JAX-RS) is a Java programming language API that provides support in creating web services according to the Representational State Transfer (REST) architectural pattern.〔Hadley, p. 1.〕 JAX-RS uses annotations, introduced in Java SE 5, to simplify the development and deployment of web service clients and endpoints.
From version 1.1 on, JAX-RS is an official part of Java EE 6. A notable feature of being an official part of Java EE is that no configuration is necessary to start using JAX-RS. For non-Java EE 6 environments a (small) entry in the web.xml deployment descriptor is required.
==Specification==
JAX-RS provides some annotations to aid in mapping a resource class (a POJO) as a web resource. The annotations include:
*@Path specifies the relative path for a resource class or method.
*@GET, @PUT, @POST, @DELETE and @HEAD specify the HTTP request type of a resource.
*@Produces specifies the response Internet media types (used for content negotiation).
*@Consumes specifies the accepted request Internet media types.
In addition, it provides further annotations to method parameters to pull information out of the request. All the @
*Param
annotations take a key of some form which is used to look up the value required.
*@PathParam binds the method parameter to a path segment.
*@QueryParam binds the method parameter to the value of an HTTP query parameter.
*@MatrixParam binds the method parameter to the value of an HTTP matrix parameter.
*@HeaderParam binds the method parameter to an HTTP header value.
*@CookieParam binds the method parameter to a cookie value.
*@FormParam binds the method parameter to a form value.
*@DefaultValue specifies a default value for the above bindings when the key is not found.
*@Context returns the entire context of the object (for example @Context HttpServletRequest request).

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Java API for RESTful Web Services」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.