Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property Name

Description

Default Value

Reference

wink.http.uri

URI that is used by the Link Builders in case of HTTP

Use the URI from the request

Chapter ‎TBD

wink.https.uri

URI used by the Link Builders in case of HTTPS

Use the URI from the request

Chapter ‎TBD

wink.context.uri

Context path used by the Link Builders

Use the context path from the request

Chapter ‎TBD

wink.defaultUrisRelative

Indicates if URIs generated by the Link Builders are absolute or relative, valid values: true or false

true - links are relative

Chapter ‎TBD

wink.addAltParam

Indicates if the "alt" query parameter should be added to URIs generated by the Link Builders. Valid values are: true, false

true - add the alt query parameter

Chapter ‎TBD

wink.searchPolicyContinuedSearch

Indicates if continues search is enabled. Valid values: true, false

true - continued search is enabled

Chapter ‎TBD

wink.rootResource

Indicates if a root resource with Service Document generation capabilities should be added.
Valid values are: none, atom, atom+html

atom+html --atom and html Service Document generation capabilities

Chapter ‎TBD

wink.serviceDocumentCssPath

Defines path to a css file that is used in the  html Service Document generation. Relevant only if html Service Document is defined

No css file defined

Chapter ‎TBD

wink.handlersFactoryClass

Defines a org.apache.wink.server.handlers.HandlersFactory class that defines user handlers

No user handlers defined

Chapter ‎TBD

wink.mediaTypeMapperFactoryClass

Defines a org.apache.wink.server.handlers.MediaTypeMapperFactory class that defines media type mappers

No media type mappers defined

Chapter ‎TBD

wink.loadApplications

Loads providers defined in a wink-application file found by the runtime

True, automatically load all wink-application specified classes

Chapter ‎TBD

Custom Properties File Definition

...

Code Block
xml
xml
# Providers
<servlet>
  <servlet-name>restSdkService</servlet-name>
  <servlet-class>
    org.apache.wink.server.internal.servlet.RestServlet
  </servlet-class>
  <init-param>
    <param-name>wink.propertiesLocation<name>propertiesLocation</param-name>
    <param-value>/WEB-INF/configuration.properties</param-value>
  </init-param>
  <init-param>
    <param-name>winkApplicationConfigLocation</param-name>
    <param-value>/WEB-INF/application</param-value>
  </init-param>
  <load-on-startup>0</load-on-startup>
</servlet>

...