uCosminexus Application Server, Web Service Development Guide

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

acceptLanguage(String... locales) method

Description

This method adds a receivable language.

Syntax

public WebResource.Builder acceptLanguage(String... locales)

Parameter

locales
This is an array of the receivable languages.

Return value

The method returns a builder (WebResource.Builder object) to set up the WebResource object.

Notes