|
Oracle Fusion Middleware Java API Reference for Oracle Access Management Mobile and Social | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.idaas.rest.jaxrs.client.sdk.HeadersDefaultImpl
public class HeadersDefaultImpl
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 |
---|
public HeadersDefaultImpl()
Method Detail |
---|
public void setAuthZHeader(java.lang.String value)
setAuthZHeader
in interface Headers
is
- value of the header.public void setIdaasRestAuthZHeader(java.lang.String value)
setIdaasRestAuthZHeader
in interface Headers
is
- value of the header.public void setIdaasRestAgentAuthZHeader(java.lang.String value)
setIdaasRestAgentAuthZHeader
in interface Headers
is
- value of the header.public void setXIdaasRestSubjectHeader(java.lang.String value)
setXIdaasRestSubjectHeader
in interface Headers
is
- value of the header.public void setContractName(java.lang.String value)
setContractName
in interface Headers
is
- value of the header.public java.util.Map<java.lang.String,java.lang.String> getHeaders()
getHeaders
in interface Headers
public void addHeader(java.lang.String name, java.lang.String value)
addHeader
in interface Headers
name
- of the header.value
- of the header to set.
|
Copyright (c) 2012, Oracle All Rights Reserved. Built 06/05/2012 17:18:07 PDT |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |