uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

24.2 Support range of API

This section describes the support range of the interfaces and classes of the JAX-RS API and the points you must consider when using the classes and interfaces of the JAX-RS 1.1 specifications.

The following table describes the support range of the interfaces and classes of the JAX-RS API specifications. For details on the interfaces and classes, see JAX-RS API documentation.

Table 24-2 Support range of classes and interfaces of the JAX-RS 1.1 specifications

No. Interfaces or Classes Constructors/Methods/Fields Support
javax.ws.rs package
1 WebApplicationException All methods Y
2 ApplicationPath -- N
3 Consumes -- Y
4 CookieParam -- Y
5 DefaultValue -- Y
6 DELETE -- Y
7 Encoded -- Y
8 FormParam -- Y
9 GET -- Y
10 HEAD -- Y
11 HeaderParam -- Y
12 HttpMethod -- N
13 MatrixParam -- Y
14 OPTIONS -- Y
15 Path -- Y
16 PathParam -- Y
17 POST -- Y
18 Produces -- Y
19 PUT -- Y
20 QueryParam -- Y
javax.ws.rs.core package
21 HttpHeaders getAcceptableMediaTypes() Y
22 getCookies() Y
23 getLanguages() Y
24 getRequestHeader(String name) Y
25 Other than the aforementioned methods Y
26 MultivaluedMap<K,V> All methods Y
27 PathSegment getPath() Y
28 Other than the aforementioned methods Y
29 Request evaluatePreconditions(java.util.Date lastModified) Y
30 evaluatePreconditions(EntityTag eTag) Y
31 evaluatePreconditions(java.util.Date lastModified, EntityTag eTag) Y
32 getMethod() Y
33 selectVariant(java.util.List<Variant> variants) Y
34 Other than the aforementioned methods Y
35 Response.StatusType All methods Y
36 SecurityContext isUserInRole(String role) Y
37 Other than the aforementioned methods Y
38 StreamingOutput All methods Y
39 UriInfo getMatchedResources() N
40 getMatchedURIs() N
41 getMatchedURIs(boolean decode) N
42 getPath() Y
43 getPath(boolean decode) Y
44 getPathParameters() Y
45 getPathParameters(boolean decode) Y
46 getPathSegments() Y
47 getPathSegments(boolean decode) Y
48 getQueryParameters() Y
49 getQueryParameters(boolean decode) Y
50 getRequestUri() Y
51 getRequestUriBuilder() Y
52 Other than the aforementioned methods Y
53 Application All methods N
54 CacheControl All methods Y
55 Cookie valueOf(String value) Y
56 Other than the aforementioned methods Y
57 EntityTag Entity(String value) Y
58 valueOf(String value) Y
59 Other than the aforementioned methods Y
60 GenericEntity<T> All methods Y
61 MediaType MediaType(String type, String subtype, java.util.Map
< String,String> parameters)
Y
62 equals(Object obj) Y
63 getParameters() Y
64 isCompatible(MediaType other) Y
65 valueOf(String type) Y
66 Other methods Y
67 NewCookie valueOf(String value) Y
68 Other than the aforementioned methods Y
69 Response created(URI location) Y
70 fromResponse(Response response) Y
71 notModified(EntityTag tag) Y
72 notModified(String tag) Y
73 ok(Object entity, String type) Y
74 seeOther(URI location) Y
75 status(int status) Y
76 temporaryRedirect(URI location) Y
77 Other than the aforementioned methods Y
78 Response.ResponseBuilder build() Y
79 status(int status) Y
80 Other method Y
81 UriBuilder build(Object... values) Y
82 clone() Y
83 fragment(String fragment) Y
84 fromPath(String path) Y
85 fromUri(String uri) Y
86 fromUri(java.net.URI uri) Y
87 host(String host) Y
88 newInstance() Y
89 path(String path) Y
90 port(int port) Y
91 queryParam(String name, Object... values) Y
92 replacePath(String path) Y
93 replaceQuery(String query) Y
94 replaceQueryParam(String name, Object... values) Y
95 scheme(String scheme) Y
96 schemeSpecificPart(String ssp) Y
97 segment(String... segments) Y
98 uri(java.net.URI uri) Y
99 userInfo(String ui) Y
100 Other than the aforementioned methods N
101 Variant All methods Y
102 Variant.VariantListBuilder All methods N
103 Response.Status All methods Y
104 Response.Status.Family All methods Y
105 UriBuilderException All methods Y
106 Context -- Y
javax.ws.rs.ext package
107 ContextResolver<T> All methods N
108 ExceptionMapper<E extends Throwable> All methods Y
109 MessageBodyReader<T> All methods N
110 MessageBodyWriter<T> All methods N
111 Providers All methods Y
112 RuntimeDelegate.HeaderDelegate<T> All methods Y#
113 RuntimeDelegate All methods Y#
114 Provider -- Y

Legend:
Y: Supported by the JAX-RS functionality of Cosminexus
N: Not supported by the JAX-RS functionality of Cosminexus
--: No applicable methods or fields exist

#:
The user never uses directly

Organization of this section
24.2.1 HttpHeaders interface
24.2.2 PathSegment interface
24.2.3 Request interface
24.2.4 SecurityContext interface
24.2.5 UriInfo interface
24.2.6 Cookie class
24.2.7 EntityTag class
24.2.8 MediaType class
24.2.9 NewCookie class
24.2.10 Response class
24.2.11 Response.ResponsBuilder class
24.2.12 The UriBuilder class
24.2.13 Provider annotation