uCosminexus Application Server, Web Service Development Guide

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

25.1 Support range of the client API interfaces and classes

This section describes the support range of the interfaces and classes of the client APIs. The following table lists the support range of the client API interfaces and classes.

Table 25-1 Support range of the client API interfaces and classes

No. Interface or class Constructor/method/field
com.cosminexus.jersey.api.client package
1 Client create()
2 create(ClientConfig cc)
3 destroy()
4 getProperties()
5 handle(ClientRequest request)
6 resource(String u)
7 resource(URI u)
8 setChunkedEncodingSize(Integer chunkSize)
9 setConnectTimeout(Integer interval)
10 setFollowRedirects(Boolean redirect)
11 setReadTimeout(Integer interval)
12 ClientHandlerException Method of the parent class#1
13 ClientRequest clone()
14 create()
15 getEntity()
16 getHeaders()
17 getHeaderValue(Object headerValue)
18 getMethod()
19 getProperties()
20 getPropertyAsFeature(String name)
21 getPropertyAsFeature(String name, boolean defaultValue)
22 getURI()
23 setEntity(Object entity)
24 setMethod(String method)
25 setURI(java.net.URI uri)
26 ClientRequest.Builder accept(MediaType... types)
27 accept(String... types)
28 acceptLanguage(Locale... locales)
29 acceptLanguage(String... locales)
30 build(URI uri, String method)
31 cookie(Cookie cookie)
32 entity(Object entity)
33 entity(Object entity, MediaType type)
34 entity(Object entity, String type)
35 header(String name, Object value)
36 type(MediaType type)
37 type(String type)
38 ClientResponse bufferEntity()
39 close()
40 getAllow()
41 getClient()
42 getClientResponseStatus()
43 getCookies()
44 getEntity(Class<T> c)
45 getEntity(GenericType<T> gt)
46 getEntityInputStream()
47 getEntityTag()
48 getHeaders()
49 getLanguage()
50 getLastModified()
51 getLength()
52 getLocation()
54 getResponseDate()
55 getStatus()
56 getType()
57 hasEntity()
58 ClientResponse.Status ACCEPTED
59 BAD_GATEWAY
60 BAD_REQUEST
61 CONFLICT
62 CREATED
63 EXPECTATION_FAILED
64 FORBIDDEN
65 FOUND
66 GATEWAY_TIMEOUT
67 GONE
68 HTTP_VERSION_NOT_SUPPORTED
69 INTERNAL_SERVER_ERROR
70 LENGTH_REQUIRED
71 METHOD_NOT_ALLOWED
72 MOVED_PERMANENTLY
73 NO_CONTENT
74 NON_AUTHORITIVE_INFORMATION
75 NOT_ACCEPTABLE
76 NOT_FOUND
77 NOT_IMPLEMENTED
78 NOT_MODIFIED
79 OK
80 PARTIAL_CONTENT
81 PAYMENT_REQUIRED
82 PRECONDITION_FAILED
83 PROXY_AUTHENTICATION_REQUIRED
84 REQUEST_ENTITY_TOO_LARGE
85 REQUEST_TIMEOUT
86 REQUEST_URI_TOO_LONG
87 REQUESTED_RANGE_NOT_SATIFIABLE
88 RESET_CONTENT
89 SEE_OTHER
90 SERVICE_UNAVAILABLE
91 TEMPORARY_REDIRECT
92 UNAUTHORIZED
93 UNSUPPORTED_MEDIA_TYPE
94 USE_PROXY
95 fromStatusCode(int statusCode)
96 getFamily()
97 getReasonPhrase()
98 getStatusCode()
99 toString()
100 valueOf(String name)
101 values()
102 GenericType GenericType()
103 GenericType(Type genericType)
104 getRawClass()
105 getType()
106 UniformInterfaceException getResponse()
107 WebResource accept(MediaType... types)
108 accept(String... types)
109 acceptLanguage(Locale... locales)
110 acceptLanguage(String... locales)
111 cookie(Cookie cookie)
112 delete()
113 delete(Class<T> c)
114 delete(Class<T> c, Object requestEntity)
115 delete(GenericType<T> gt)
116 delete(GenericType<T> gt, Object requestEntity)
117 delete(Object requestEntity)
118 entity(Object entity)
119 entity(Object entity, MediaType type)
120 entity(Object entity, String type)
121 get(Class<T> c)
122 get(GenericType<T> gt)
123 getRequestBuilder()
124 getURI()
125 getUriBuilder()
126 head()
127 header(String name, Object value)
128 method(String method)
129 method(String method, Class<T> c)
130 method(String method, Class<T> c, Object requestEntity)
131 method(String method, GenericType<T> gt)
132 method(String method, GenericType<T> gt, Object requestEntity)
133 method(String method, Object requestEntity)
134 options(Class<T> c)
135 options(GenericType<T> gt)
136 path(String path)
137 post()
138 post(Class<T> c)
139 post(Class<T> c, Object requestEntity)
140 post(GenericType<T> gt)
141 post(GenericType<T> gt, Object requestEntity)
142 post(Object requestEntity)
143 put()
144 put(Class<T> c)
145 put(Class<T> c, Object requestEntity)
146 put(GenericType<T> gt)
147 put(GenericType<T> gt, Object requestEntity)
148 put(Object requestEntity)
149 queryParam(String key, String value)
150 queryParams(MultivaluedMap<String, String> params)
151 type(MediaType type)
152 type(String type)
153 uri(java.net.URI uri)
154 WebResource.Builder accept(MediaType... types)
155 accept(String... types)
156 acceptLanguage(Locale... locales)
157 acceptLanguage(String... locales)
158 cookie(Cookie cookie)
159 delete()
160 delete(Class<T> c)
161 delete(Class<T> c, Object requestEntity)
162 delete(GenericType<T> gt)
163 delete(GenericType<T> gt, Object requestEntity)
164 delete(Object requestEntity)
165 entity(Object entity)
166 entity(Object entity, MediaType type)
167 entity(Object entity, String type)
168 get(Class<T> c)
169 get(GenericType<T> gt)
170 head()
171 header(String name, Object value)
172 method(String method)
173 method(String method, Class<T> c)
174 method(String method, Class<T> c, Object requestEntity)
175 method(String method, GenericType<T> gt)
176 method(String method, GenericType<T> gt, Object requestEntity)
177 method(String method, Object requestEntity)
178 options(Class<T> c)
179 options(GenericType<T> gt)
180 post()
181 post(Class<T> c)
182 post(Class<T> c, Object requestEntity)
183 post(GenericType<T> gt)
184 post(GenericType<T> gt, Object requestEntity)
185 post(Object requestEntity)
186 put()
187 put(Class<T> c)
188 put(Class<T> c, Object requestEntity)
189 put(GenericType<T> gt)
190 put(GenericType<T> gt, Object requestEntity)
191 put(Object requestEntity)
192 type(MediaType type)
193 type(String type)
com.cosminexus.jersey.api.client.config package
194 DefaultClientConfig PROPERTY_BUFFER_RESPONSE_ENTITY_ON_EXCEPTION
195 PROPERTY_CHUNKED_ENCODING_SIZE
196 PROPERTY_CONNECT_TIMEOUT
197 PROPERTY_FOLLOW_REDIRECTS
198 PROPERTY_READ_TIMEOUT
199 getPropertyAsFeature(String featureName)
200 getFeatures()
201 getFeature(String featureName)
202 getProperties()
203 getProperty(String propertyName)
com.cosminexus.jersey.client.urlconnection package
204 HTTPSProperties PROPERTY_HTTPS_PROPERTIES
205 HTTPSProperties()
206 HTTPSProperties(HostnameVerifier hv)
207 HTTPSProperties(HostnameVerifier hv, SSLContext c)
208 getHostnameVerifier()
209 getSSLContext()
com.cosminexus.jersey.core.util package
210 MultivaluedMapImpl#2 MultivaluedMapImpl()
211 add(String key, String value)
212 getFirst(String key)
213 putSingle(String key, String value)

#1
The ClientHandlerException class is a derived class of the RuntimeException class. Use the ClientHandlerException class within the scope of the methods of the RuntimeException class.

#2
For details on the constructor and method specifications of the MultivaluedMapImpl class, see the documentation for the JAX-RS APIs. For details on the notes, see 25.14 Specifications for the constructors and methods of the MultivaluedMapImpl class and notes.

Organization of this section
25.1.1 Supported properties and features
25.1.2 Information included in the ClientRequest class and the Web resource class