Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Access Management Mobile and Social


oracle.security.idaas.rest.jaxrs.client.sdk.applicationprofile
Class ApplicationProfileRequestImpl

java.lang.Object
  extended by oracle.security.idaas.rest.jaxrs.client.sdk.applicationprofile.ApplicationProfileRequestImpl

All Implemented Interfaces:
ApplicationProfileRequest

public class ApplicationProfileRequestImpl
extends java.lang.Object
implements ApplicationProfileRequest

Encapsulates the data sent on an HTTP read/GET request to the application profile service. The underlying clientsdk system adds this data as query parameters to the request. There are setter methods fro the well-known query parameters, and also a general mechanism to add any custom attribute to the request also. This class is supplied as a default implementation of the ApplicationProfileRequest interface.


Field Summary
static java.lang.String CLIENT_SDK_VERSION_QUERY_PARAM_NAME
           
static java.lang.String OS_TYPE_QUERY_PARAM_NAME
           
static java.lang.String OS_VER_QUERY_PARAM_NAME
           
static java.lang.String SERVICE_DOMAIN_QUERY_PARAM_NAME
           

 

Constructor Summary
ApplicationProfileRequestImpl()
           

 

Method Summary
 void addAttribute(java.lang.String name, java.lang.String value)
          Allow client to add any custom attributes to the set of query parameters sent on a request.
 java.util.Map<java.lang.String,java.lang.String> getAttributes()
          Used by underlying helpers to get the attributes to use on this call.
 java.lang.String getClientSDKVersion()
           
 java.lang.String getOsType()
           
 java.lang.String getOsVer()
           
 java.lang.String getServiceDomain()
           
 void setClientSDKVersion(java.lang.String clientSDKVersion)
           
 void setOsType(java.lang.String osType)
           
 void setOsVer(java.lang.String osVer)
           
 void setServiceDomain(java.lang.String serviceDomain)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

OS_TYPE_QUERY_PARAM_NAME

public static final java.lang.String OS_TYPE_QUERY_PARAM_NAME
See Also:
Constant Field Values

OS_VER_QUERY_PARAM_NAME

public static final java.lang.String OS_VER_QUERY_PARAM_NAME
See Also:
Constant Field Values

CLIENT_SDK_VERSION_QUERY_PARAM_NAME

public static final java.lang.String CLIENT_SDK_VERSION_QUERY_PARAM_NAME
See Also:
Constant Field Values

SERVICE_DOMAIN_QUERY_PARAM_NAME

public static final java.lang.String SERVICE_DOMAIN_QUERY_PARAM_NAME
See Also:
Constant Field Values

Constructor Detail

ApplicationProfileRequestImpl

public ApplicationProfileRequestImpl()

Method Detail

setOsType

public void setOsType(java.lang.String osType)
Specified by:
setOsType in interface ApplicationProfileRequest
Parameters:
osType - is the value to set for osType query parameter.

getOsType

public java.lang.String getOsType()
Specified by:
getOsType in interface ApplicationProfileRequest
Returns:
the value of the osType query parameter.

setOsVer

public void setOsVer(java.lang.String osVer)
Specified by:
setOsVer in interface ApplicationProfileRequest
Parameters:
osVer - is the value to set for osVer query parameter.

getOsVer

public java.lang.String getOsVer()
Specified by:
getOsVer in interface ApplicationProfileRequest
Returns:
the value of the osVer query parameter.

setClientSDKVersion

public void setClientSDKVersion(java.lang.String clientSDKVersion)
Specified by:
setClientSDKVersion in interface ApplicationProfileRequest
Parameters:
clientSDKVersion - is the value to set for clientSDKVersion query parameter.

getClientSDKVersion

public java.lang.String getClientSDKVersion()
Specified by:
getClientSDKVersion in interface ApplicationProfileRequest
Returns:
the value of the clientSDKVersion query parameter.

setServiceDomain

public void setServiceDomain(java.lang.String serviceDomain)
Specified by:
setServiceDomain in interface ApplicationProfileRequest
Parameters:
serviceDomain - is the value to set for serviceDomain query parameter.

getServiceDomain

public java.lang.String getServiceDomain()
Specified by:
getServiceDomain in interface ApplicationProfileRequest
Returns:
the value of the serviceDomain query parameter.

getAttributes

public java.util.Map<java.lang.String,java.lang.String> getAttributes()
Used by underlying helpers to get the attributes to use on this call.
Specified by:
getAttributes in interface ApplicationProfileRequest
Returns:
map of attributes that will be sent on a request.

addAttribute

public void addAttribute(java.lang.String name,
                         java.lang.String value)
Allow client to add any custom attributes to the set of query parameters sent on a request.
Specified by:
addAttribute in interface ApplicationProfileRequest
Parameters:
name - of the attribute.
value - of the attribute to set.

Skip navigation links

Copyright (c) 2012,
Oracle All Rights Reserved.
Built 06/05/2012 17:18:07 PDT