Skip navigation links

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


oracle.security.idaas.rest.jaxrs.client.sdk
Interface Headers

All Known Implementing Classes:
HeadersDefaultImpl

public interface Headers

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


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

 

Method Detail

setAuthZHeader

void setAuthZHeader(java.lang.String value)
Sets "Authorization" header to the specified value.
Parameters:
is - value of the header.

setIdaasRestAuthZHeader

void setIdaasRestAuthZHeader(java.lang.String value)
Set "X-Idaas-Rest-Authorization" header.
Parameters:
is - value of the header.

setIdaasRestAgentAuthZHeader

void setIdaasRestAgentAuthZHeader(java.lang.String value)
Set "X-Idaas-Rest-Agent-Authorization" header.
Parameters:
is - value of the header.

setXIdaasRestSubjectHeader

void setXIdaasRestSubjectHeader(java.lang.String value)
set "X-Idaas-Rest-Subject" header
Parameters:
is - value of the header.

setContractName

void setContractName(java.lang.String value)
Set contract name header value.
Parameters:
is - value of the header.

getHeaders

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

addHeader

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.
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