pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.service.request
Class ServiceRequestImplConfig.LocaleManagerConfiguration

java.lang.Object
  extended by org.torweg.pulse.service.request.ServiceRequestImplConfig.LocaleManagerConfiguration
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ServiceRequestImplConfig

public static final class ServiceRequestImplConfig.LocaleManagerConfiguration
extends java.lang.Object
implements java.io.Serializable

the configuration of the locale manager.

See Also:
Serialized Form

Constructor Summary
protected ServiceRequestImplConfig.LocaleManagerConfiguration()
          Deprecated. 
 
Method Summary
 Locale getDefaultLocale()
          returns the default locale, if set.
 java.util.Collection<Locale> getLocales()
          returns the locales configured for the locale manager.
 boolean isRfcCompliant()
          returns whether to do a RFC 2616 compliant content negotiation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceRequestImplConfig.LocaleManagerConfiguration

@Deprecated
protected ServiceRequestImplConfig.LocaleManagerConfiguration()
Deprecated. 

used by JAXB.

Method Detail

isRfcCompliant

public boolean isRfcCompliant()
returns whether to do a RFC 2616 compliant content negotiation.

Returns:
true, if content negotiation is to be performed in compliance with RFC 2616

getLocales

public java.util.Collection<Locale> getLocales()
returns the locales configured for the locale manager.

Returns:
the locales configured for the locale manager

getDefaultLocale

public Locale getDefaultLocale()
returns the default locale, if set.

Returns:
the default locale, if set