java.lang.Object |
↳ |
com.google.code.linkedinapi.client.constant.LinkedInApiUrls.LinkedInApiUrlBuilder |
Class Overview
The Class LinkedInApiUrlBuilder.
Summary
Fields |
private
Map<String, String> |
fieldsMap |
The fields map. |
private
Map<String, Collection<String>> |
parametersMap |
The parameters map. |
private
String |
urlFormat |
The url format. |
private
String |
urlType |
The url type. |
Public Methods |
String
|
buildUrl()
Builds the url.
|
LinkedInApiUrls.LinkedInApiUrlBuilder
|
withEmptyField(String name)
With empty field.
|
LinkedInApiUrls.LinkedInApiUrlBuilder
|
withFacets(List<Parameter<FacetType, String>> facets)
|
LinkedInApiUrls.LinkedInApiUrlBuilder
|
withField(String name, String value, boolean escape)
With field.
|
LinkedInApiUrls.LinkedInApiUrlBuilder
|
withField(String name, String value)
With field.
|
LinkedInApiUrls.LinkedInApiUrlBuilder
|
withFieldEnum(String name, FieldEnum value)
With field enum.
|
LinkedInApiUrls.LinkedInApiUrlBuilder
|
withFieldEnumSet(String name, Set<? extends CompositeEnum<?>> enumSet)
With field enum set.
|
LinkedInApiUrls.LinkedInApiUrlBuilder
|
withParameter(String name, String value)
With parameter.
|
LinkedInApiUrls.LinkedInApiUrlBuilder
|
withParameterEnum(String name, FieldEnum value)
With parameter enum.
|
LinkedInApiUrls.LinkedInApiUrlBuilder
|
withParameterEnumMap(Map<? extends FieldEnum, String> enumMap)
With parameter enum map.
|
LinkedInApiUrls.LinkedInApiUrlBuilder
|
withParameterEnumSet(String name, Set<? extends FieldEnum> enumSet)
With parameter enum set.
|
LinkedInApiUrls.LinkedInApiUrlBuilder
|
withParameters(String name, Collection<String> values)
With parameters.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Constants
private
static
final
char
API_URLS_PLACEHOLDER_END
The Constant API_URLS_PLACEHOLDER_END.
Constant Value:
125
(0x0000007d)
private
static
final
char
API_URLS_PLACEHOLDER_START
The Constant API_URLS_PLACEHOLDER_START.
Constant Value:
123
(0x0000007b)
private
static
final
String
QUERY_PARAMETERS_PLACEHOLDER
The Constant QUERY_PARAMETERS_PLACEHOLDER.
Constant Value:
"queryParameters"
Fields
private
Map<String, String>
fieldsMap
private
Map<String, Collection<String>>
parametersMap
Public Constructors
public
LinkedInApiUrls.LinkedInApiUrlBuilder
(String urlFormat)
Instantiates a new linked in api url builder.
public
LinkedInApiUrls.LinkedInApiUrlBuilder
(String urlFormat, String urlType)
Instantiates a new linked in api url builder.
Parameters
urlFormat
| The url format |
urlType
| The url type
|
Public Methods
public
String
buildUrl
()
Returns
- the linked in api url builder
Parameters
name
| The name |
value
| The value |
escape
| |
Returns
- the linked in api url builder
Parameters
name
| The name |
value
| The value |
Returns
- the linked in api url builder
Parameters
name
| The name |
value
| The value |
Returns
- the linked in api url builder
Parameters
name
| The name |
enumSet
| The enum set |
Returns
- the linked in api url builder
Parameters
name
| The name |
value
| The value |
Returns
- the linked in api url builder
Parameters
name
| The name |
value
| The value |
Returns
- the linked in api url builder
Returns
- the linked in api url builder
Parameters
name
| The name |
enumSet
| The enum set |
Returns
- the linked in api url builder
Parameters
name
| The name |
values
| The values |
Returns
- the linked in api url builder