com.hack23.cia.service.api.application
Class ApplicationRequest

Package class diagram package ApplicationRequest
java.lang.Object
  extended by com.hack23.cia.service.api.common.AbstractServiceMessage
      extended by com.hack23.cia.service.api.common.AbstractServiceRequest
          extended by com.hack23.cia.service.api.application.ApplicationRequest
All Implemented Interfaces:
ServiceMessage, ServiceRequest, Serializable

public class ApplicationRequest
extends AbstractServiceRequest

The Class ApplicationRequest.

See Also:
Serialized Form

Nested Class Summary
static class ApplicationRequest.HeaderAttributeKey
          The Enum HeaderAttributeKey.
 
Field Summary
static String HEADER_ACCEPT_LANGUAGE
          The Constant HEADER_ACCEPT_LANGUAGE.
static String HEADER_USER_AGENT
          The Constant HEADER_USER_AGENT.
 
Constructor Summary
ApplicationRequest(Map<String,String> userSettingsMap)
          Instantiates a new application request.
 
Method Summary
 String getAcceptLanguage()
          Gets the accept language.
 String getHeaderAttribute(ApplicationRequest.HeaderAttributeKey headerAttributeKey)
          Gets the header attribute.
 String getUserAgent()
          Gets the user agent.
 
Methods inherited from class com.hack23.cia.service.api.common.AbstractServiceRequest
getUserSessionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEADER_ACCEPT_LANGUAGE

public static final String HEADER_ACCEPT_LANGUAGE
The Constant HEADER_ACCEPT_LANGUAGE.

See Also:
Constant Field Values

HEADER_USER_AGENT

public static final String HEADER_USER_AGENT
The Constant HEADER_USER_AGENT.

See Also:
Constant Field Values
Constructor Detail

ApplicationRequest

public ApplicationRequest(Map<String,String> userSettingsMap)
Instantiates a new application request.

Parameters:
userSettingsMap - the user settings map
Method Detail

getAcceptLanguage

public final String getAcceptLanguage()
Gets the accept language.

Returns:
the accept language

getHeaderAttribute

public final String getHeaderAttribute(ApplicationRequest.HeaderAttributeKey headerAttributeKey)
Gets the header attribute.

Parameters:
headerAttributeKey - the header attribute key
Returns:
the header attribute

getUserAgent

public final String getUserAgent()
Gets the user agent.

Returns:
the user agent


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.