public class ConnectorSession extends Object implements Serializable
| Constructor and Description |
|---|
ConnectorSession(String endpointId)
Instantiates a new connector session.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCookie(String name)
Gets a header.
|
String[] |
getCookieNames()
Returns the cookie names.
|
String |
getEndpointId()
Gets the endpoint id.
|
String |
getParameter(String key)
Gets a parameter.
|
String[] |
getParameterKeys()
Returns the parameter keys.
|
void |
setCookie(String name,
String value)
Sets a given header.
|
void |
setParameter(String key,
String value)
Sets a given parameter.
|
public ConnectorSession(String endpointId)
endpointId - the endpoint idpublic String getEndpointId()
public String getParameter(String key)
key - the keypublic void setParameter(String key, String value)
key - the keyvalue - the valuepublic String[] getParameterKeys()
public String getCookie(String name)
name - the namepublic void setCookie(String name, String value)
name - the namevalue - the headerpublic String[] getCookieNames()
Copyright © 2005–2019 Alfresco Software. All rights reserved.