|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISCSContext
Represents a users operating context while interacting with the Content Server.
Nested Class Summary | |
---|---|
static interface |
ISCSContext.NTLMCredentials
Credentials for NTLM |
static interface |
ISCSContext.UsernameCrendentials
Basic credentials |
Nested classes/interfaces inherited from interface com.stellent.cis.client.api.common.ICISObjectInitializable |
---|
ICISObjectInitializable.AdapterVersionAware |
Field Summary | |
---|---|
static java.lang.String |
SCSCONTEXT_ID
|
Method Summary | |
---|---|
void |
clearRequestHeaders()
Clear all custom request headers |
java.lang.Object |
getCrendentials()
|
java.lang.String |
getEncoding()
|
java.lang.String |
getIdcUser()
Get the IDC user (i.e. |
java.lang.String |
getRequestHeader(java.lang.String header)
|
java.util.Collection |
getRequestHeaderNames()
|
boolean |
isRequestHeadersPresent()
|
void |
removeRequestHeader(java.lang.String header)
Remove the header from this context |
void |
setCrendentials(java.lang.Object credentials)
Set an object that represents the credentials for this request; only used when adapter supports this (usually via going through the web interface) |
void |
setEncoding(java.lang.String encoding)
Set the encoding to use for the requests to the content server |
void |
setIdcUser(java.lang.String idcUser)
|
void |
setRequestHeader(java.lang.String header,
java.lang.String value)
Set a header on the context |
Methods inherited from interface com.stellent.cis.client.context.IContext |
---|
getAdapterName, getContextPath, getDevice, getLocale, getSessionID, getUser, isGuest, setAdapterName, setContextPath, setDevice, setGuest, setLocale, setSessionID, setUser |
Methods inherited from interface com.stellent.cis.client.api.common.ICISObjectInitializable |
---|
intialize |
Field Detail |
---|
static final java.lang.String SCSCONTEXT_ID
Method Detail |
---|
java.lang.String getIdcUser()
IContext.getUser()
void setIdcUser(java.lang.String idcUser)
idcUser
- void setRequestHeader(java.lang.String header, java.lang.String value)
header
- the header namevalue
- the header valuevoid removeRequestHeader(java.lang.String header)
header
- the header namejava.lang.String getRequestHeader(java.lang.String header)
header
- the header name
java.util.Collection getRequestHeaderNames()
boolean isRequestHeadersPresent()
void clearRequestHeaders()
void setEncoding(java.lang.String encoding)
encoding
- the Java encoding string (i.e. "UTF8")java.lang.String getEncoding()
void setCrendentials(java.lang.Object credentials)
credentials
- the user crendentialsjava.lang.Object getCrendentials()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |