Skip navigation links

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


oracle.security.idaas.rest.jaxrs.client.sdk
Class HeadersDefaultImpl

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

All Implemented Interfaces:
Headers

public class HeadersDefaultImpl
extends java.lang.Object
implements Headers

Clients create one of these and then set the values. It is then added as a parameter on a request method.


Constructor Summary
HeadersDefaultImpl()
           

 

Method Summary
 void addHeader(java.lang.String name, java.lang.String value)
          Allow client to add any custom headers to the set of headers sent on a request.
 java.util.Map<java.lang.String,java.lang.String> getHeaders()
          Used by underlying helpers to get the headers to use on this call.
 void setAuthZHeader(java.lang.String value)
          Sets "Authorization" header to the specified value.
 void setContractName(java.lang.String value)
          Set contract name header value.
 void setIdaasRestAgentAuthZHeader(java.lang.String value)
          Set "X-Idaas-Rest-Agent-Authorization" header.
 void setIdaasRestAuthZHeader(java.lang.String value)
          Set "X-Idaas-Rest-Authorization" header.
 void setXIdaasRestSubjectHeader(java.lang.String value)
          set "X-Idaas-Rest-Subject" header

 

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

 

Constructor Detail

HeadersDefaultImpl

public HeadersDefaultImpl()

Method Detail

setAuthZHeader

public void setAuthZHeader(java.lang.String value)
Sets "Authorization" header to the specified value.
Specified by:
setAuthZHeader in interface Headers
Parameters:
is - value of the header.

setIdaasRestAuthZHeader

public void setIdaasRestAuthZHeader(java.lang.String value)
Set "X-Idaas-Rest-Authorization" header.
Specified by:
setIdaasRestAuthZHeader in interface Headers
Parameters:
is - value of the header.

setIdaasRestAgentAuthZHeader

public void setIdaasRestAgentAuthZHeader(java.lang.String value)
Set "X-Idaas-Rest-Agent-Authorization" header.
Specified by:
setIdaasRestAgentAuthZHeader in interface Headers
Parameters:
is - value of the header.

setXIdaasRestSubjectHeader

public void setXIdaasRestSubjectHeader(java.lang.String value)
set "X-Idaas-Rest-Subject" header
Specified by:
setXIdaasRestSubjectHeader in interface Headers
Parameters:
is - value of the header.

setContractName

public void setContractName(java.lang.String value)
Set contract name header value.
Specified by:
setContractName in interface Headers
Parameters:
is - value of the header.

getHeaders

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

addHeader

public void addHeader(java.lang.String name,
                      java.lang.String value)
Allow client to add any custom headers to the set of headers sent on a request.
Specified by:
addHeader in interface Headers
Parameters:
name - of the header.
value - of the header to set.

Skip navigation links

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