com.google.code.linkedinapi.client.impl
Class AsyncLinkedInApiClientAdapter

java.lang.Object
  extended by com.google.code.linkedinapi.client.impl.AsyncLinkedInApiClientAdapter
All Implemented Interfaces:
AsyncLinkedInApiClient, LinkedInAuthenticationClient, LinkedInCommunicationClient

public class AsyncLinkedInApiClientAdapter
extends java.lang.Object
implements AsyncLinkedInApiClient

Author:
Nabeel Mukhtar

Nested Class Summary
private static class AsyncLinkedInApiClientAdapter.NullResponseHandler<T extends SchemaEntity>
           
 
Field Summary
private  AsyncHandlerLinkedInApiClientAdapter client
          Field description
 
Constructor Summary
AsyncLinkedInApiClientAdapter(LinkedInApiClient client, java.util.concurrent.ExecutorService taskExecutor)
          Constructs ...
 
Method Summary
 void addRequestHeader(java.lang.String headerName, java.lang.String headerValue)
          Adds the request header.
 java.util.concurrent.Future<?> deleteCurrentStatus()
          Delete current status.
 LinkedInAccessToken getAccessToken()
          Method description
 LinkedInApiConsumer getApiConsumer()
          Method description
 java.util.concurrent.Future<Connections> getConnectionsById(java.lang.String id)
          Gets the connections by id.
 java.util.concurrent.Future<Connections> getConnectionsById(java.lang.String id, int start, int count)
          Gets the connections by id.
 java.util.concurrent.Future<Connections> getConnectionsById(java.lang.String id, java.util.Set<ProfileField> profileFields)
          Gets the connections by id.
 java.util.concurrent.Future<Connections> getConnectionsById(java.lang.String id, java.util.Set<ProfileField> profileFields, int start, int count)
          Gets the connections by id.
 java.util.concurrent.Future<Connections> getConnectionsByUrl(java.lang.String url)
          Gets the connections by url.
 java.util.concurrent.Future<Connections> getConnectionsByUrl(java.lang.String url, int start, int count)
          Gets the connections by url.
 java.util.concurrent.Future<Connections> getConnectionsByUrl(java.lang.String url, java.util.Set<ProfileField> profileFields)
          Gets the connections by url.
 java.util.concurrent.Future<Connections> getConnectionsByUrl(java.lang.String url, java.util.Set<ProfileField> profileFields, int start, int count)
          Gets the connections by url.
 java.util.concurrent.Future<Connections> getConnectionsForCurrentUser()
          Gets the connections for current user.
 java.util.concurrent.Future<Connections> getConnectionsForCurrentUser(int start, int count)
          Gets the connections for current user.
 java.util.concurrent.Future<Connections> getConnectionsForCurrentUser(java.util.Set<ProfileField> profileFields)
          Gets the connections for current user.
 java.util.concurrent.Future<Connections> getConnectionsForCurrentUser(java.util.Set<ProfileField> profileFields, int start, int count)
          Gets the connections for current user.
 java.util.concurrent.Future<UpdateComments> getNetworkUpdateComments(java.lang.String networkUpdateId)
          Gets the network update comments.
 java.util.concurrent.Future<Network> getNetworkUpdates()
          Gets the network updates.
 java.util.concurrent.Future<Network> getNetworkUpdates(java.util.Date startDate, java.util.Date endDate)
          Gets the network updates.
 java.util.concurrent.Future<Network> getNetworkUpdates(int start, int count)
          Gets the network updates.
 java.util.concurrent.Future<Network> getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes)
          Gets the network updates.
 java.util.concurrent.Future<Network> getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes, java.util.Date startDate, java.util.Date endDate)
          Gets the network updates.
 java.util.concurrent.Future<Network> getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes, int start, int count)
          Gets the network updates.
 java.util.concurrent.Future<Network> getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes, int start, int count, java.util.Date startDate, java.util.Date endDate)
          Gets the network updates.
 java.util.concurrent.Future<Person> getProfileByApiRequest(ApiStandardProfileRequest apiRequest)
          Gets the profile by API request.
 java.util.concurrent.Future<Person> getProfileById(java.lang.String id)
          Gets the profile by id.
 java.util.concurrent.Future<Person> getProfileById(java.lang.String id, java.util.Set<ProfileField> profileFields)
          Gets the profile by id.
 java.util.concurrent.Future<Person> getProfileByUrl(java.lang.String url, ProfileType profileType)
          Gets the profile by url.
 java.util.concurrent.Future<Person> getProfileByUrl(java.lang.String url, ProfileType profileType, java.util.Set<ProfileField> profileFields)
          Gets the profile by url.
 java.util.concurrent.Future<Person> getProfileForCurrentUser()
          Gets the profile for current user.
 java.util.concurrent.Future<Person> getProfileForCurrentUser(java.util.Set<ProfileField> profileFields)
          Gets the profile for current user.
 java.util.Map<java.lang.String,java.lang.String> getRequestHeaders()
          Gets the request headers.
 java.util.concurrent.Future<?> postComment(java.lang.String networkUpdateId, java.lang.String commentText)
          Post comment.
 java.util.concurrent.Future<?> postNetworkUpdate(java.lang.String updateText)
          Post network update.
 void removeRequestHeader(java.lang.String headerName)
          Removes the request header.
 java.util.concurrent.Future<People> searchPeople()
          Search people.
 java.util.concurrent.Future<People> searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters)
          Search people.
 java.util.concurrent.Future<People> searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, int start, int count)
          Search people.
 java.util.concurrent.Future<People> searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, int start, int count, SearchSortOrder sortOrder)
          Search people.
 java.util.concurrent.Future<People> searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, SearchSortOrder sortOrder)
          Search people.
 java.util.concurrent.Future<?> sendInviteByEmail(java.lang.String email, java.lang.String firstName, java.lang.String lastName, java.lang.String subject, java.lang.String message)
          Send invite.
 java.util.concurrent.Future<?> sendInviteById(java.lang.String recepientId, java.lang.String subject, java.lang.String message, java.lang.String authHeader)
          Send invite.
 java.util.concurrent.Future<?> sendInviteToPerson(Person recepient, java.lang.String subject, java.lang.String message)
          Send invite.
 java.util.concurrent.Future<?> sendMessage(java.util.List<java.lang.String> recepientIds, java.lang.String subject, java.lang.String message)
          Send message.
 void setAccessToken(LinkedInAccessToken accessToken)
          Method description
 void setApiConsumer(LinkedInApiConsumer apiConsumer)
          Method description
 void setRequestHeaders(java.util.Map<java.lang.String,java.lang.String> requestHeaders)
          Sets the request headers.
 java.util.concurrent.Future<?> updateCurrentStatus(java.lang.String status)
          Update current status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

private AsyncHandlerLinkedInApiClientAdapter client
Field description

Constructor Detail

AsyncLinkedInApiClientAdapter

public AsyncLinkedInApiClientAdapter(LinkedInApiClient client,
                                     java.util.concurrent.ExecutorService taskExecutor)
Constructs ...

Parameters:
client -
Method Detail

getConnectionsById

public java.util.concurrent.Future<Connections> getConnectionsById(java.lang.String id)
Gets the connections by id. For details see http://developer.linkedin.com/docs/DOC-1004

Specified by:
getConnectionsById in interface AsyncLinkedInApiClient
Parameters:
id - the id
Returns:
the connections by id

getConnectionsById

public java.util.concurrent.Future<Connections> getConnectionsById(java.lang.String id,
                                                                   java.util.Set<ProfileField> profileFields)
Gets the connections by id. For details see http://developer.linkedin.com/docs/DOC-1004

Specified by:
getConnectionsById in interface AsyncLinkedInApiClient
Parameters:
id - the id
profileFields - the profile fields
Returns:
the connections by id

getConnectionsByUrl

public java.util.concurrent.Future<Connections> getConnectionsByUrl(java.lang.String url)
Gets the connections by url. For details see http://developer.linkedin.com/docs/DOC-1004

Specified by:
getConnectionsByUrl in interface AsyncLinkedInApiClient
Parameters:
url - the url
Returns:
the connections by url

getConnectionsByUrl

public java.util.concurrent.Future<Connections> getConnectionsByUrl(java.lang.String url,
                                                                    java.util.Set<ProfileField> profileFields)
Gets the connections by url. For details see http://developer.linkedin.com/docs/DOC-1004

Specified by:
getConnectionsByUrl in interface AsyncLinkedInApiClient
Parameters:
url - the url
profileFields - the profile fields
Returns:
the connections by url

getConnectionsForCurrentUser

public java.util.concurrent.Future<Connections> getConnectionsForCurrentUser()
Gets the connections for current user. For details see http://developer.linkedin.com/docs/DOC-1004

Specified by:
getConnectionsForCurrentUser in interface AsyncLinkedInApiClient
Returns:
the connections for current user

getConnectionsForCurrentUser

public java.util.concurrent.Future<Connections> getConnectionsForCurrentUser(java.util.Set<ProfileField> profileFields)
Gets the connections for current user. For details see http://developer.linkedin.com/docs/DOC-1004

Specified by:
getConnectionsForCurrentUser in interface AsyncLinkedInApiClient
Parameters:
profileFields - the profile fields
Returns:
the connections for current user

getConnectionsById

public java.util.concurrent.Future<Connections> getConnectionsById(java.lang.String id,
                                                                   int start,
                                                                   int count)
Gets the connections by id. For details see http://developer.linkedin.com/docs/DOC-1004

Specified by:
getConnectionsById in interface AsyncLinkedInApiClient
Parameters:
id - the id
start - the start
count - the count
Returns:
the connections by id

getConnectionsById

public java.util.concurrent.Future<Connections> getConnectionsById(java.lang.String id,
                                                                   java.util.Set<ProfileField> profileFields,
                                                                   int start,
                                                                   int count)
Gets the connections by id. For details see http://developer.linkedin.com/docs/DOC-1004

Specified by:
getConnectionsById in interface AsyncLinkedInApiClient
Parameters:
id - the id
profileFields - the profile fields
start - the start
count - the count
Returns:
the connections by id

getConnectionsByUrl

public java.util.concurrent.Future<Connections> getConnectionsByUrl(java.lang.String url,
                                                                    int start,
                                                                    int count)
Gets the connections by url. For details see http://developer.linkedin.com/docs/DOC-1004

Specified by:
getConnectionsByUrl in interface AsyncLinkedInApiClient
Parameters:
url - the url
start - the start
count - the count
Returns:
the connections by url

getConnectionsByUrl

public java.util.concurrent.Future<Connections> getConnectionsByUrl(java.lang.String url,
                                                                    java.util.Set<ProfileField> profileFields,
                                                                    int start,
                                                                    int count)
Gets the connections by url. For details see http://developer.linkedin.com/docs/DOC-1004

Specified by:
getConnectionsByUrl in interface AsyncLinkedInApiClient
Parameters:
url - the url
profileFields - the profile fields
start - the start
count - the count
Returns:
the connections by url

getConnectionsForCurrentUser

public java.util.concurrent.Future<Connections> getConnectionsForCurrentUser(int start,
                                                                             int count)
Gets the connections for current user. For details see http://developer.linkedin.com/docs/DOC-1004

Specified by:
getConnectionsForCurrentUser in interface AsyncLinkedInApiClient
Parameters:
start - the start
count - the count
Returns:
the connections for current user

getConnectionsForCurrentUser

public java.util.concurrent.Future<Connections> getConnectionsForCurrentUser(java.util.Set<ProfileField> profileFields,
                                                                             int start,
                                                                             int count)
Gets the connections for current user. For details see http://developer.linkedin.com/docs/DOC-1004

Specified by:
getConnectionsForCurrentUser in interface AsyncLinkedInApiClient
Parameters:
profileFields - the profile fields
start - the start
count - the count
Returns:
the connections for current user

getNetworkUpdates

public java.util.concurrent.Future<Network> getNetworkUpdates()
Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006

Specified by:
getNetworkUpdates in interface AsyncLinkedInApiClient
Returns:
the network updates

getNetworkUpdates

public java.util.concurrent.Future<Network> getNetworkUpdates(int start,
                                                              int count)
Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006

Specified by:
getNetworkUpdates in interface AsyncLinkedInApiClient
Parameters:
start - the start
count - the count
Returns:
the network updates

getNetworkUpdates

public java.util.concurrent.Future<Network> getNetworkUpdates(java.util.Date startDate,
                                                              java.util.Date endDate)
Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006

Specified by:
getNetworkUpdates in interface AsyncLinkedInApiClient
Parameters:
startDate - the start date
endDate - the end date
Returns:
the network updates

getNetworkUpdates

public java.util.concurrent.Future<Network> getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes)
Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006

Specified by:
getNetworkUpdates in interface AsyncLinkedInApiClient
Parameters:
updateTypes - the update types
Returns:
the network updates

getNetworkUpdates

public java.util.concurrent.Future<Network> getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes,
                                                              int start,
                                                              int count)
Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006

Specified by:
getNetworkUpdates in interface AsyncLinkedInApiClient
Parameters:
updateTypes - the update types
start - the start
count - the count
Returns:
the network updates

getNetworkUpdates

public java.util.concurrent.Future<Network> getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes,
                                                              java.util.Date startDate,
                                                              java.util.Date endDate)
Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006

Specified by:
getNetworkUpdates in interface AsyncLinkedInApiClient
Parameters:
updateTypes - the update types
startDate - the start date
endDate - the end date
Returns:
the network updates

getNetworkUpdates

public java.util.concurrent.Future<Network> getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes,
                                                              int start,
                                                              int count,
                                                              java.util.Date startDate,
                                                              java.util.Date endDate)
Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006

Specified by:
getNetworkUpdates in interface AsyncLinkedInApiClient
Parameters:
updateTypes - the update types
start - the start
count - the count
startDate - the start date
endDate - the end date
Returns:
the network updates

getNetworkUpdateComments

public java.util.concurrent.Future<UpdateComments> getNetworkUpdateComments(java.lang.String networkUpdateId)
Gets the network update comments. For details see http://developer.linkedin.com/docs/DOC-1043

Specified by:
getNetworkUpdateComments in interface AsyncLinkedInApiClient
Parameters:
networkUpdateId - the network update id
Returns:
the network update comments

getProfileById

public java.util.concurrent.Future<Person> getProfileById(java.lang.String id)
Gets the profile by id. For details see http://developer.linkedin.com/docs/DOC-1002

Specified by:
getProfileById in interface AsyncLinkedInApiClient
Parameters:
id - the id
Returns:
the profile by id

getProfileById

public java.util.concurrent.Future<Person> getProfileById(java.lang.String id,
                                                          java.util.Set<ProfileField> profileFields)
Gets the profile by id. For details see http://developer.linkedin.com/docs/DOC-1002

Specified by:
getProfileById in interface AsyncLinkedInApiClient
Parameters:
id - the id
profileFields - the profile fields
Returns:
the profile by id

getProfileByUrl

public java.util.concurrent.Future<Person> getProfileByUrl(java.lang.String url,
                                                           ProfileType profileType)
Gets the profile by url. For details see http://developer.linkedin.com/docs/DOC-1002

Specified by:
getProfileByUrl in interface AsyncLinkedInApiClient
Parameters:
url - the url
profileType - the profile type
Returns:
the profile by url

getProfileByUrl

public java.util.concurrent.Future<Person> getProfileByUrl(java.lang.String url,
                                                           ProfileType profileType,
                                                           java.util.Set<ProfileField> profileFields)
Gets the profile by url. For details see http://developer.linkedin.com/docs/DOC-1002

Specified by:
getProfileByUrl in interface AsyncLinkedInApiClient
Parameters:
url - the url
profileType - the profile type
profileFields - the profile fields
Returns:
the profile by url

getProfileByApiRequest

public java.util.concurrent.Future<Person> getProfileByApiRequest(ApiStandardProfileRequest apiRequest)
Gets the profile by API request. For details see http://developer.linkedin.com/docs/DOC-1002

Specified by:
getProfileByApiRequest in interface AsyncLinkedInApiClient
Parameters:
apiRequest - the api request
Returns:
the profile by api request

getProfileForCurrentUser

public java.util.concurrent.Future<Person> getProfileForCurrentUser()
Gets the profile for current user. For details see http://developer.linkedin.com/docs/DOC-1002

Specified by:
getProfileForCurrentUser in interface AsyncLinkedInApiClient
Returns:
the profile for current user

getProfileForCurrentUser

public java.util.concurrent.Future<Person> getProfileForCurrentUser(java.util.Set<ProfileField> profileFields)
Gets the profile for current user. For details see http://developer.linkedin.com/docs/DOC-1002

Specified by:
getProfileForCurrentUser in interface AsyncLinkedInApiClient
Parameters:
profileFields - the profile fields
Returns:
the profile for current user

postComment

public java.util.concurrent.Future<?> postComment(java.lang.String networkUpdateId,
                                                  java.lang.String commentText)
Post comment. For details see http://developer.linkedin.com/docs/DOC-1043

Specified by:
postComment in interface AsyncLinkedInApiClient
Parameters:
networkUpdateId - the network update id
commentText - the comment text
Returns:
the future

postNetworkUpdate

public java.util.concurrent.Future<?> postNetworkUpdate(java.lang.String updateText)
Post network update. For details see http://developer.linkedin.com/docs/DOC-1009

Specified by:
postNetworkUpdate in interface AsyncLinkedInApiClient
Parameters:
updateText - the update text
Returns:
the future

searchPeople

public java.util.concurrent.Future<People> searchPeople()
Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Specified by:
searchPeople in interface AsyncLinkedInApiClient
Returns:
the future< people>

searchPeople

public java.util.concurrent.Future<People> searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters)
Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Specified by:
searchPeople in interface AsyncLinkedInApiClient
Parameters:
searchParameters - the search parameters
Returns:
the future< people>

searchPeople

public java.util.concurrent.Future<People> searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                                                        int start,
                                                        int count)
Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Specified by:
searchPeople in interface AsyncLinkedInApiClient
Parameters:
searchParameters - the search parameters
start - the start
count - the count
Returns:
the future< people>

searchPeople

public java.util.concurrent.Future<People> searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                                                        SearchSortOrder sortOrder)
Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Specified by:
searchPeople in interface AsyncLinkedInApiClient
Parameters:
searchParameters - the search parameters
sortOrder - the sort order
Returns:
the future< people>

searchPeople

public java.util.concurrent.Future<People> searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                                                        int start,
                                                        int count,
                                                        SearchSortOrder sortOrder)
Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Specified by:
searchPeople in interface AsyncLinkedInApiClient
Parameters:
searchParameters - the search parameters
start - the start
count - the count
sortOrder - the sort order
Returns:
the future< people>

sendInviteByEmail

public java.util.concurrent.Future<?> sendInviteByEmail(java.lang.String email,
                                                        java.lang.String firstName,
                                                        java.lang.String lastName,
                                                        java.lang.String subject,
                                                        java.lang.String message)
Send invite. For details see http://developer.linkedin.com/docs/DOC-1012

Specified by:
sendInviteByEmail in interface AsyncLinkedInApiClient
Parameters:
email - the recepient email
firstName - the first name
lastName - the last name
subject - the subject
message - the message
Returns:
the future

sendInviteToPerson

public java.util.concurrent.Future<?> sendInviteToPerson(Person recepient,
                                                         java.lang.String subject,
                                                         java.lang.String message)
Send invite. For details see http://developer.linkedin.com/docs/DOC-1012

To call this method one needs an auth header parameter. This can be obtained by getting ApiStandardProfileRequest.getHeaders() from Person.getApiStandardProfileRequest() and then getting the value of header with name ApplicationConstants.AUTH_HEADER_NAME.

Specified by:
sendInviteToPerson in interface AsyncLinkedInApiClient
Parameters:
recepient - the recepient
subject - the subject
message - the message
Returns:
the future

sendInviteById

public java.util.concurrent.Future<?> sendInviteById(java.lang.String recepientId,
                                                     java.lang.String subject,
                                                     java.lang.String message,
                                                     java.lang.String authHeader)
Send invite. For details see http://developer.linkedin.com/docs/DOC-1012

To call this method one needs an auth header parameter. This can be obtained by getting ApiStandardProfileRequest.getHeaders() from Person.getApiStandardProfileRequest() and then getting the value of header with name ApplicationConstants.AUTH_HEADER_NAME.

Specified by:
sendInviteById in interface AsyncLinkedInApiClient
Parameters:
recepientId - the recepient id
subject - the subject
message - the message
authHeader - the auth header
Returns:
the future

sendMessage

public java.util.concurrent.Future<?> sendMessage(java.util.List<java.lang.String> recepientIds,
                                                  java.lang.String subject,
                                                  java.lang.String message)
Send message. For details see http://developer.linkedin.com/docs/DOC-1044

Specified by:
sendMessage in interface AsyncLinkedInApiClient
Parameters:
recepientIds - the recepient ids
subject - the subject
message - the message
Returns:
the future

updateCurrentStatus

public java.util.concurrent.Future<?> updateCurrentStatus(java.lang.String status)
Update current status. For details see http://developer.linkedin.com/docs/DOC-1007

Specified by:
updateCurrentStatus in interface AsyncLinkedInApiClient
Parameters:
status - the status
Returns:
the future

deleteCurrentStatus

public java.util.concurrent.Future<?> deleteCurrentStatus()
Delete current status. For details see http://developer.linkedin.com/docs/DOC-1007

Specified by:
deleteCurrentStatus in interface AsyncLinkedInApiClient
Returns:
the future

getAccessToken

public LinkedInAccessToken getAccessToken()
Method description

Specified by:
getAccessToken in interface LinkedInAuthenticationClient
Returns:

getApiConsumer

public LinkedInApiConsumer getApiConsumer()
Method description

Specified by:
getApiConsumer in interface LinkedInAuthenticationClient
Returns:

setAccessToken

public void setAccessToken(LinkedInAccessToken accessToken)
Method description

Specified by:
setAccessToken in interface LinkedInAuthenticationClient

setApiConsumer

public void setApiConsumer(LinkedInApiConsumer apiConsumer)
Method description

Specified by:
setApiConsumer in interface LinkedInAuthenticationClient

setRequestHeaders

public void setRequestHeaders(java.util.Map<java.lang.String,java.lang.String> requestHeaders)
Sets the request headers.

Specified by:
setRequestHeaders in interface LinkedInCommunicationClient
Parameters:
requestHeaders - the request headers

getRequestHeaders

public java.util.Map<java.lang.String,java.lang.String> getRequestHeaders()
Gets the request headers.

Specified by:
getRequestHeaders in interface LinkedInCommunicationClient
Returns:
the request headers

addRequestHeader

public void addRequestHeader(java.lang.String headerName,
                             java.lang.String headerValue)
Adds the request header.

Specified by:
addRequestHeader in interface LinkedInCommunicationClient
Parameters:
headerName - the header name
headerValue - the header value

removeRequestHeader

public void removeRequestHeader(java.lang.String headerName)
Removes the request header.

Specified by:
removeRequestHeader in interface LinkedInCommunicationClient
Parameters:
headerName - the header name