Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Jersey Service Properties"
(Created page with "==='''ecf.jaxrs.jersey.server''' config === {|{{BMTableStyle}} |-{{BMTHStyle}} ! Property Name ! Description ! Type ! Default Value |- | '''ecf.jaxrs.jersey.server.protocol''...") |
|||
Line 1: | Line 1: | ||
==='''ecf.jaxrs.jersey.server''' config === | ==='''ecf.jaxrs.jersey.server''' config === | ||
+ | |||
+ | ====System Properties==== | ||
{|{{BMTableStyle}} | {|{{BMTableStyle}} | ||
Line 22: | Line 24: | ||
| Integer | | Integer | ||
| '''8080''' for http protocol, '''8443''' for https protocol | | '''8080''' for http protocol, '''8443''' for https protocol | ||
+ | |- | ||
+ | | '''ecf.jaxrs.server.pathPrefix''' | ||
+ | | The path prefix portion of the remote service complete URI. For example, the '/' in 'http://localhost:8080/' or '/mycontext' in 'http://localhost:8080/mycontext'. NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | ||
+ | | Integer | ||
+ | | '''/''' | ||
|- | |- | ||
| '''ecf.jaxrs.jersey.server.pathPrefix''' | | '''ecf.jaxrs.jersey.server.pathPrefix''' | ||
| The path prefix portion of the remote service complete URI. For example, the '/' in 'http://localhost:8080/' or '/mycontext' in 'http://localhost:8080/mycontext'. NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | | The path prefix portion of the remote service complete URI. For example, the '/' in 'http://localhost:8080/' or '/mycontext' in 'http://localhost:8080/mycontext'. NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | ||
+ | | Integer | ||
+ | | '''/''' | ||
+ | |} | ||
+ | |||
+ | Note that if both the ecf.jaxrs.server.pathPrefix and the ecf.jaxrs.jersey.server.pathPrefix properties above are set, the ecf.jaxrs.jersey.server.pathPrefix property will take precedence. | ||
+ | |||
+ | ====Service Properties==== | ||
+ | |||
+ | {|{{BMTableStyle}} | ||
+ | |-{{BMTHStyle}} | ||
+ | ! Property Name | ||
+ | ! Description | ||
+ | ! Type | ||
+ | ! Default Value | ||
+ | |- | ||
+ | | '''ecf.jaxrs.jersey.server.protocol''' | ||
+ | | Protocol portion of the remote service complete URI. For example, the 'http' in 'http://localhost:8080/'. Should only be 'http' or 'https'. NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | ||
+ | | String | ||
+ | | '''http''' | ||
+ | |- | ||
+ | | '''ecf.jaxrs.jersey.server.hostname''' | ||
+ | | Hostname portion of the remote service complete URI. For example, the 'localhost' in 'http://localhost:8080/'. NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | ||
+ | | String | ||
+ | | '''localhost''' | ||
+ | |- | ||
+ | | '''ecf.jaxrs.jersey.server.port''' | ||
+ | | Port portion of the remote service complete URI. For example, the '8080' in 'http://localhost:8080/'. NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | ||
+ | | Integer | ||
+ | | '''8080''' for http protocol, '''8443''' for https protocol | ||
+ | |- | ||
+ | | '''ecf.jaxrs.server.pathPrefix''' | ||
+ | | The path prefix portion of the remote service complete URI. For example, the '/rs1' in 'http://localhost:8080/rs1' or '/rs1' in 'http://localhost:8080/mycontext/rs1' (where the pathPrefix system property above had been set to '/mycontext' and service property set to '/rs1'). NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | ||
+ | | Integer | ||
+ | | '''/''' | ||
+ | |- | ||
+ | | '''ecf.jaxrs.jersey.server.pathPrefix''' | ||
+ | | The path prefix portion of the remote service complete URI. For example, the '/rs1' in 'http://localhost:8080/rs1' or '/rs1' in 'http://localhost:8080/mycontext/rs1' (where the pathPrefix system property above had been set to '/mycontext' and service property set to '/rs1'). NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | ||
| Integer | | Integer | ||
| '''/''' | | '''/''' | ||
Line 33: | Line 77: | ||
| '''false''' | | '''false''' | ||
|} | |} | ||
+ | |||
+ | Note that if both the ecf.jaxrs.server.pathPrefix and the ecf.jaxrs.jersey.server.pathPrefix properties above are set, the ecf.jaxrs.jersey.server.pathPrefix property will also take precedence. |
Revision as of 01:14, 6 November 2019
ecf.jaxrs.jersey.server config
System Properties
Property Name | Description | Type | Default Value |
---|---|---|---|
ecf.jaxrs.jersey.server.protocol | Protocol portion of the remote service complete URI. For example, the 'http' in 'http://localhost:8080/'. Should only be 'http' or 'https'. NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | String | http |
ecf.jaxrs.jersey.server.hostname | Hostname portion of the remote service complete URI. For example, the 'localhost' in 'http://localhost:8080/'. NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | String | localhost |
ecf.jaxrs.jersey.server.port | Port portion of the remote service complete URI. For example, the '8080' in 'http://localhost:8080/'. NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | Integer | 8080 for http protocol, 8443 for https protocol |
ecf.jaxrs.server.pathPrefix | The path prefix portion of the remote service complete URI. For example, the '/' in 'http://localhost:8080/' or '/mycontext' in 'http://localhost:8080/mycontext'. NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | Integer | / |
ecf.jaxrs.jersey.server.pathPrefix | The path prefix portion of the remote service complete URI. For example, the '/' in 'http://localhost:8080/' or '/mycontext' in 'http://localhost:8080/mycontext'. NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | Integer | / |
Note that if both the ecf.jaxrs.server.pathPrefix and the ecf.jaxrs.jersey.server.pathPrefix properties above are set, the ecf.jaxrs.jersey.server.pathPrefix property will take precedence.
Service Properties
Property Name | Description | Type | Default Value |
---|---|---|---|
ecf.jaxrs.jersey.server.protocol | Protocol portion of the remote service complete URI. For example, the 'http' in 'http://localhost:8080/'. Should only be 'http' or 'https'. NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | String | http |
ecf.jaxrs.jersey.server.hostname | Hostname portion of the remote service complete URI. For example, the 'localhost' in 'http://localhost:8080/'. NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | String | localhost |
ecf.jaxrs.jersey.server.port | Port portion of the remote service complete URI. For example, the '8080' in 'http://localhost:8080/'. NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | Integer | 8080 for http protocol, 8443 for https protocol |
ecf.jaxrs.server.pathPrefix | The path prefix portion of the remote service complete URI. For example, the '/rs1' in 'http://localhost:8080/rs1' or '/rs1' in 'http://localhost:8080/mycontext/rs1' (where the pathPrefix system property above had been set to '/mycontext' and service property set to '/rs1'). NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | Integer | / |
ecf.jaxrs.jersey.server.pathPrefix | The path prefix portion of the remote service complete URI. For example, the '/rs1' in 'http://localhost:8080/rs1' or '/rs1' in 'http://localhost:8080/mycontext/rs1' (where the pathPrefix system property above had been set to '/mycontext' and service property set to '/rs1'). NOTE that an impl of HttpService must be available in runtime that exposes the complete URI (e.g. http://localhost:8080/ or https://foo.bar:8443/). | Integer | / |
ecf.jaxrs.jersey.server.includeRemoteServiceId | An option remote service id as suffix to path (true or false). For example, the '1' in 'http://localhost:8080/1' for remote service id = 1. If this value is set then the system generated remote service id will be appended to the . | boolean | false |
Note that if both the ecf.jaxrs.server.pathPrefix and the ecf.jaxrs.jersey.server.pathPrefix properties above are set, the ecf.jaxrs.jersey.server.pathPrefix property will also take precedence.