Class ClientRequestContextImpl
- java.lang.Object
-
- org.camunda.bpm.client.interceptor.impl.ClientRequestContextImpl
-
- All Implemented Interfaces:
ClientRequestContext
public class ClientRequestContextImpl extends java.lang.Object implements ClientRequestContext
- Author:
- Tassilo Weidner
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,java.lang.String>
headers
-
Constructor Summary
Constructors Modifier Constructor Description protected
ClientRequestContextImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHeader(java.lang.String name, java.lang.String value)
Adds a header to the request.protected java.util.Map<java.lang.String,java.lang.String>
getHeaders()
-
-
-
Method Detail
-
addHeader
public void addHeader(java.lang.String name, java.lang.String value)
Description copied from interface:ClientRequestContext
Adds a header to the request.- Specified by:
addHeader
in interfaceClientRequestContext
- Parameters:
name
- of the http headervalue
- of the http header
-
getHeaders
protected java.util.Map<java.lang.String,java.lang.String> getHeaders()
-
-