|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.webdav.internal.kernel.Context
public class Context
The Context
class is essentially a collection of key-value
pairings, with defaults. Implements the Context
interface
which provides convenience methods for most HTTP and WebDAV message
header fields.
To be done:
1) Types that take and return dates have not been changed. We need to write
date formats to cope with the different strings that we may be sent, see
the HTTP spec for details.
2) Identify the fields where multiple values are permissible, and change the
params to be arrays of values.
Nested Class Summary | |
---|---|
protected class |
Context.ContextKey
|
class |
Context.ContextKeyToStringEnum
|
Fields inherited from interface org.eclipse.webdav.IContext |
---|
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO, EXCLUSIVE_LOCK, NO_CACHE, NO_EXPIRY_LOCK, SHARED_LOCK, WRITE_LOCK |
Constructor Summary | |
---|---|
Context()
|
|
Context(IContext defaults)
Constructor for the class. |
Method Summary | |
---|---|
void |
collapse()
Copy all the default values into the receiver. |
String |
get(String key)
Return the value for the given key. |
String |
getAccept()
Gets the media types that are acceptable for a response. |
String |
getAcceptCharset()
Gets the character sets that are acceptable for a response. |
String |
getAcceptEncoding()
Get what content-encoding values are acceptable for a response. |
String |
getAcceptLanguage()
Get the natural languages that are acceptable for a response. |
String |
getAcceptRanges()
Get the range requests acceptable to a server. |
int |
getAge()
Get the sender's estimate of the time since the response was generated. |
String |
getAllBindings()
Return the string value for the ALL_BINDINGS key. |
String |
getAllow()
Gets the methods allowed on a resource Return the string value for the ALLOW key. |
String |
getAuthorization()
Get the user's credentials for the realm of the resource being requested. |
String |
getCacheControl()
Get the cache control directives that must be obeyed. |
String |
getConnection()
Get sender connection options. |
String |
getContentBase()
Return the String value for the CONTENT_BASE key. |
String |
getContentEncoding()
Get what additional content encodings have been applied to the entity body. |
String |
getContentLanguage()
Gets the natural language of the intended audience for the entity body. |
long |
getContentLength()
Get the content length in bytes of the entity body. |
String |
getContentLocation()
Return the String value for the CONTENT_LOCATION key. |
String |
getContentMD5()
Return the string value for the CONTENT_MD5 key. |
String |
getContentRange()
Return the string value for the CONTENT_RANGE key. |
String |
getContentType()
Get the MIME type for the response contents. |
String |
getDate()
The date the request was made. |
String |
getDAV()
Get the DAV level supported by the server. |
String |
getDepth()
Return the string value for the DEPTH key. |
String |
getDestination()
Get the destination URI for a copy or move operation. |
String |
getETag()
Get the entity tag for the associated entity. |
String |
getExpires()
Get the date/time after which the response should be considered stale. |
String |
getFrom()
Return the string value for the FROM key. |
String |
getHost()
Get the Internet host and port of the resource being requested. |
String |
getIfKey()
Return the string value for the IF key. |
String |
getIfMatch()
Return the string value for the IF_MATCH key. |
String |
getIfModifiedSince()
Return the string value for the IF_MODIFIED_SINCE key. |
String |
getIfNoneMatch()
Return the string value for the IF_NONE_MATCH key. |
String |
getIfRange()
Return the string value for the IF_RANGE key. |
String |
getIfUnmodifiedSince()
Return the string value for the IF_UNMODIFIED_SINC key. |
String |
getLabel()
Get the message label selector. |
String |
getLastModified()
Get when the resource was last modified. |
String |
getLocation()
Get the redirect location. |
String |
getLockToken()
Gets the lock token for the resource, or null if it is not set. |
int |
getMaxForwards()
Return the integer value for the MAX_FORWARDS key. |
String |
getOrdered()
Return the string value for the ORDERED key. |
boolean |
getOverwrite()
Get the flag that indicates if copy or move should overwrite an existing destination. |
boolean |
getPassthrough()
Return the boolean value for the PASSTHROUGH key. |
String |
getPosition()
Return the string value for the POSITION key. |
String |
getPragma()
Return the string value for the PRAGMA key. |
String |
getPrecondition()
Get any precondition that must be true in order for method execution to be successful. |
String |
getProxyAuthenticate()
Return the string value for the PROXY_AUTHENTICATE key. |
String |
getProxyAuthorization()
Return the string value for the PROXY_AUTHORIZATION key. |
String |
getPublicKey()
Return the string value for the PUBLIC_KEY key. |
String |
getRange()
Return the string value for the RANGE key. |
String |
getReferer()
Get the URI of the resource from which the request was obtained. |
String |
getRefTarget()
Return the URI value for the REF_TARGET key. |
String |
getResourceType()
Return the string value for the RESOURCE_TYPE key. |
String |
getRetryAfter()
Return the string value for the RETRY_AFTER key. |
String |
getServer()
Get information about the software used by the origin server to handle the request. |
String |
getStatusURI()
Get the String of the resource whose method is in process. |
int |
getTimeout()
Get the lock timeout value. |
String |
getTransferEncoding()
Return the string value for the TRANSFER_ENCODING key. |
String |
getUpgrade()
Return the string value for the UPGRADE key. |
String |
getUserAgent()
Get information about the user agent originating the request. |
String |
getVary()
Return the string value for the VARY key. |
String |
getVia()
Return the string value for the VIA key. |
String |
getWarning()
Return the string value for the WARNING key. |
String |
getWWWAuthenticate()
Return the string value for the WWW_AUTHENTICATE key. |
Enumeration |
keys()
Return an enumeration over the context's keys. |
void |
put(String key,
String value)
Put the given key-value pair into the context. |
void |
removeKey(String key)
Remove the given key from the context |
void |
setAccept(String value)
Set what media types are acceptable for a response. |
void |
setAcceptCharset(String value)
Sets which character sets are acceptable for a response. |
void |
setAcceptEncoding(String value)
Set the content-encoding values which are acceptable for a response. |
String |
setAcceptLanguage()
Get the natural languages that are acceptable for a response. |
void |
setAcceptLanguage(String value)
Set which natural languages are acceptable for a response. |
void |
setAcceptRanges(String value)
Set the range requests acceptable to a server. |
void |
setAge(int seconds)
Set the sender's estimate of the time since the response was generated. |
void |
setAllBindings(String s)
Set the string value for the ALL_BINDINGS key. |
void |
setAllow(String value)
Sets methods allowed on a resource Set the string value for the ALLOW key. |
void |
setAuthorization(String value)
Set the user's credentials for the realm of the resource being requested. |
void |
setCacheControl(String value)
Set the cache control directives that must be obeyed. |
void |
setConnection(String value)
Set sender connection options. |
void |
setContentBase(String url)
Set the String URL value for the CONTENT_BASE key. |
void |
setContentEncoding(String value)
Sets the additional content encodings that have been applied to the entity body. |
void |
setContentLanguage(String value)
Sets the natural language of the intended audience for the entity body. |
void |
setContentLength(long value)
Set the content length in bytes of the entity body. |
void |
setContentLocation(String value)
Set the String URI value for the CONTENT_LOCATION key. |
void |
setContentMD5(String value)
Set the string value for the CONTENT_MD5 key. |
void |
setContentRange(String value)
Set the string value for the CONTENT_RANGE key. |
void |
setContentType(String value)
Set the MIME type for the response contents. |
void |
setDate(String value)
Set the date the request was made. |
void |
setDAV(String value)
Set the DAV level supported by the server. |
void |
setDepth(String s)
Set the string value for the DEPTH key. |
void |
setDestination(String value)
Set the destination URI for a copy or move operation. |
void |
setETag(String value)
Set the entity tag for the associated entity. |
void |
setExpires(String value)
Set the date/time after which the response should be considered stale. |
void |
setFrom(String s)
Set the string value for the FROM key. |
void |
setHost(String value)
Set the Internet host and port of the resource being requested. |
void |
setIfKey(String s)
Set the string value for the IF key. |
void |
setIfMatch(String s)
Set the string value for the IF_MATCH key. |
void |
setIfModifiedSince(String s)
Set the string value for the IF_MODIFIED_SINCE key. |
void |
setIfNoneMatch(String s)
Set the string value for the IF_NONE_MATCH key. |
void |
setIfRange(String s)
Set the string value for the IF_RANGE key. |
void |
setIfUnmodifiedSince(String s)
Set the string value for the IF_UNMODIFIED_SINCE key. |
void |
setLabel(String value)
Set the method's label selector. |
void |
setLastModified(String value)
Set when the resource was last modified. |
void |
setLocation(String value)
Sets the redirect location. |
void |
setLockToken(String token)
Set the lock token for the resource. |
void |
setMaxForwards(int i)
Set the integer value for the MAX_FORWARDS key. |
void |
setOrdered(String value)
Set the string value for the ORDERED key. |
void |
setOverwrite(boolean value)
Set if copy or move should overwrite an existing destination. |
void |
setPassthrough(boolean value)
Set the boolean value for the PASSTHROUGH key. |
void |
setPosition(String s)
Set the string value for the POSITION key. |
void |
setPragma(String value)
Set the string value for the PRAGMA key. |
void |
setPrecondition(String value)
Set any precondition that must be true in order for method execution to be successful. |
void |
setProxyAuthenticate(String value)
Set the string value for the PROXY_AUTHENTICATE key. |
void |
setProxyAuthorization(String value)
Set the string value for the PROXY_AUTHORIZATION key. |
void |
setPublicKey(String value)
Set the string value for the PUBLIC_KEY key. |
void |
setRange(String value)
Set the string value for the RANGE key. |
void |
setReferer(String value)
Set the URI of the resource from which the request was obtained. |
void |
setRefTarget(String value)
Set the URI value for the REF_TARGET key. |
void |
setResourceType(String value)
Set the string value for the RESOURCE_TYPE key. |
void |
setRetryAfter(String value)
Set the string value for the RETRY_AFTER key. |
void |
setServer(String value)
Set information about the software used by the origin server to handle the request. |
void |
setStatusURI(String value)
Set the URI of the resource whose method is in process. |
void |
setTimeout(int value)
Set the lock timeout value in seconds. |
void |
setTransferEncoding(String value)
Set the string value for the TRANSFER_ENCODING key. |
void |
setUpgrade(String value)
Set the string value for the UPGRADE key. |
void |
setUserAgent(String value)
Set information about the user agent originating the request. |
void |
setVary(String value)
Set the string value for the VARY key. |
void |
setVia(String value)
Set the string value for the VIA key. |
void |
setWarning(String value)
Set the string value for the WARNING key. |
void |
setWWWAuthenticate(String value)
Set the string value for the WWW_AUTHENTICATE key. |
String |
toString()
Return a string representation of the context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Hashtable properties
protected IContext defaults
public final String ACCEPT
public final String ACCEPT_CHARSET
public final String ACCEPT_ENCODING
public final String ACCEPT_LANGUAGE
public final String ACCEPT_RANGES
public final String AGE
public final String ALLOW
public final String AUTHORIZATION
public final String CACHE_CONTROL
public final String CONNECTION
public final String CONTENT_BASE
public final String CONTENT_ENCODING
public final String CONTENT_LANGUAGE
public final String CONTENT_LENGTH
public final String CONTENT_LOCATION
public final String CONTENT_MD5
public final String CONTENT_RANGE
public final String CONTENT_TYPE
public final String DATE
public final String ETAG
public final String EXPIRES
public final String FROM
public final String HOST
public final String IF_MODIFIED_SINCE
public final String IF_MATCH
public final String IF_NONE_MATCH
public final String IF_RANGE
public final String IF_UNMODIFIED_SINCE
public final String LAST_MODIFIED
public final String LOCATION
public final String MAX_FORWARDS
public final String PRAGMA
public final String PROXY_AUTHENTICATE
public final String PROXY_AUTHORIZATION
public final String PUBLIC
public final String RANGE
public final String REFERER
public final String RETRY_AFTER
public final String SERVER
public final String TRANSFER_ENCODING
public final String UPGRADE
public final String USER_AGENT
public final String VARY
public final String VIA
public final String WARNING
public final String WWW_AUTHENTICATE
public final String DAV
public final String DEPTH
public final String DESTINATION
public final String IF
public final String LOCK_TOKEN
public final String OVERWRITE
public final String STATUS_URI
public final String TIMEOUT
public final String ALL_BINDINGS
public final String REF_TARGET
public final String RES_TYPE
public final String PASSTHROUGH
public final String ORDERED
public final String POSITION
public final String LABEL
Constructor Detail |
---|
public Context()
public Context(IContext defaults)
defaults
- the default property values for the contextMethod Detail |
---|
public void collapse()
collapse
in interface IContext
public String get(String key)
get
in interface IContext
key
- the key to look up
public String getAccept()
Implements the corresponding API in the interface
Context
.
getAccept
in interface IContext
getAccept()
public String getAcceptCharset()
Implements the corresponding API in the interface
Context
.
getAcceptCharset
in interface IContext
getAcceptCharset()
public String getAcceptEncoding()
Implements the corresponding API in the interface
Context
.
getAcceptEncoding
in interface IContext
getAcceptEncoding()
public String getAcceptLanguage()
Implements the corresponding API in the interface
Context
.
getAcceptLanguage
in interface IContext
getAcceptLanguage()
public String getAcceptRanges()
Implements the corresponding API in the interface
Context
.
getAcceptRanges
in interface IContext
getAcceptRanges()
public int getAge()
Implements the corresponding API in the interface
Context
.
getAge
in interface IContext
getAge()
public String getAllBindings()
Implements the corresponding API in the interface
Context
.
getAllBindings
in interface IContext
getAllBindings()
public String getAllow()
Implements the corresponding API in the interface
Context
.
getAllow
in interface IContext
getAllow()
public String getAuthorization()
Implements the corresponding API in the interface
Context
.
getAuthorization
in interface IContext
getAuthorization()
public String getCacheControl()
Implements the corresponding API in the interface
Context
.
getCacheControl
in interface IContext
getCacheControl()
public String getConnection()
Implements the corresponding API in the interface
Context
.
getConnection
in interface IContext
getConnection()
public String getContentBase()
Implements the corresponding API in the interface
Context
.
getContentBase
in interface IContext
getContentBase()
public String getContentEncoding()
Implements the corresponding API in the interface
Context
.
getContentEncoding
in interface IContext
getContentEncoding()
public String getContentLanguage()
Implements the corresponding API in the interface
Context
.
getContentLanguage
in interface IContext
getContentLanguage()
public long getContentLength()
Implements the corresponding API in the interface
Context
.
getContentLength
in interface IContext
getContentLength()
public String getContentLocation()
Implements the corresponding API in the interface
Context
.
getContentLocation
in interface IContext
getContentLocation()
public String getContentMD5()
Implements the corresponding API in the interface
Context
.
getContentMD5
in interface IContext
getContentMD5()
public String getContentRange()
Implements the corresponding API in the interface
Context
.
getContentRange
in interface IContext
getContentRange()
public String getContentType()
Implements the corresponding API in the interface
Context
.
getContentType
in interface IContext
getContentType()
public String getDate()
Implements the corresponding API in the interface
Context
.
getDate
in interface IContext
getDate()
public String getDAV()
Implements the corresponding API in the interface
Context
.
getDAV
in interface IContext
getDAV()
public String getDepth()
Implements the corresponding API in the interface
Context
.
getDepth
in interface IContext
getDepth()
public String getDestination()
Implements the corresponding API in the interface
Context
.
getDestination
in interface IContext
getDestination()
public String getETag()
Implements the corresponding API in the interface
Context
.
getETag
in interface IContext
getETag()
public String getExpires()
Implements the corresponding API in the interface
Context
.
getExpires
in interface IContext
getExpires()
public String getFrom()
Implements the corresponding API in the interface
Context
.
getFrom
in interface IContext
getFrom()
public String getHost()
Implements the corresponding API in the interface
Context
.
getHost
in interface IContext
HOST
public String getIfKey()
Implements the corresponding API in the interface
Context
.
getIfKey
in interface IContext
getIfKey()
public String getIfMatch()
Implements the corresponding API in the interface
Context
.
getIfMatch
in interface IContext
getIfMatch()
public String getIfModifiedSince()
Implements the corresponding API in the interface
Context
.
getIfModifiedSince
in interface IContext
getIfModifiedSince()
public String getIfNoneMatch()
Implements the corresponding API in the interface
Context
.
getIfNoneMatch
in interface IContext
getIfNoneMatch()
public String getIfRange()
Implements the corresponding API in the interface
Context
.
getIfRange
in interface IContext
getIfRange()
public String getIfUnmodifiedSince()
Implements the corresponding API in the interface
Context
.
getIfUnmodifiedSince
in interface IContext
getIfUnmodifiedSince()
public String getLabel()
Implements the corresponding API in the interface
Context
.
getLabel
in interface IContext
getLabel()
public String getLastModified()
Implements the corresponding API in the interface
Context
.
getLastModified
in interface IContext
getLastModified()
public String getLocation()
Implements the corresponding API in the interface
Context
.
getLocation
in interface IContext
getLocation()
public String getLockToken()
Implements the corresponding API in the interface
Context
.
getLockToken
in interface IContext
getLockToken()
public int getMaxForwards()
Implements the corresponding API in the interface
Context
.
getMaxForwards
in interface IContext
getMaxForwards()
public String getOrdered()
Implements the corresponding API in the interface
Context
.
getOrdered
in interface IContext
getOrdered()
public boolean getOverwrite()
Implements the corresponding API in the interface
Context
.
getOverwrite
in interface IContext
OVERWRITE
public boolean getPassthrough()
Implements the corresponding API in the interface
Context
.
getPassthrough
in interface IContext
getPassthrough()
public String getPosition()
Implements the corresponding API in the interface
Context
.
getPosition
in interface IContext
getPosition()
public String getPragma()
Implements the corresponding API in the interface
Context
.
getPragma
in interface IContext
getPragma()
public String getPrecondition()
Implements the corresponding API in the interface
Context
.
getPrecondition()
public String getProxyAuthenticate()
Implements the corresponding API in the interface
Context
.
getProxyAuthenticate
in interface IContext
getProxyAuthenticate()
public String getProxyAuthorization()
Implements the corresponding API in the interface
Context
.
getProxyAuthorization
in interface IContext
getProxyAuthorization()
public String getPublicKey()
Implements the corresponding API in the interface
Context
.
getPublicKey
in interface IContext
getPublicKey()
public String getRange()
Implements the corresponding API in the interface
Context
.
getRange
in interface IContext
getRange()
public String getReferer()
Implements the corresponding API in the interface
Context
.
getReferer
in interface IContext
getReferer()
public String getRefTarget()
Implements the corresponding API in the interface
Context
.
getRefTarget
in interface IContext
getRefTarget()
public String getResourceType()
Implements the corresponding API in the interface
Context
.
getResourceType
in interface IContext
getResourceType()
public String getRetryAfter()
Implements the corresponding API in the interface
Context
.
getRetryAfter
in interface IContext
getRetryAfter()
public String getServer()
Implements the corresponding API in the interface
Context
.
getServer
in interface IContext
getServer()
public String getStatusURI()
Implements the corresponding API in the interface
Context
.
getStatusURI
in interface IContext
getStatusURI()
public int getTimeout()
Implements the corresponding API in the interface
Context
.
getTimeout
in interface IContext
getTimeout()
public String getTransferEncoding()
Implements the corresponding API in the interface
Context
.
getTransferEncoding
in interface IContext
getTransferEncoding()
public String getUpgrade()
Implements the corresponding API in the interface
Context
.
getUpgrade
in interface IContext
getUpgrade()
public String getUserAgent()
Implements the corresponding API in the interface
Context
.
getUserAgent
in interface IContext
getUserAgent()
public String getVary()
Implements the corresponding API in the interface
Context
.
getVary
in interface IContext
getVary()
public String getVia()
Implements the corresponding API in the interface
Context
.
getVia
in interface IContext
getVia()
public String getWarning()
Implements the corresponding API in the interface
Context
.
getWarning
in interface IContext
getWarning()
public String getWWWAuthenticate()
Implements the corresponding API in the interface
Context
.
getWWWAuthenticate
in interface IContext
getWWWAuthenticate()
public Enumeration keys()
keys
in interface IContext
public void put(String key, String value)
put
in interface IContext
key
- the keyvalue
- its associated valuepublic void removeKey(String key)
removeKey
in interface IContext
key
- the key to removepublic void setAccept(String value)
Implements the corresponding API in the interface
Context
.
setAccept
in interface IContext
value
- the value for ACCEPTsetAccept(String)
public void setAcceptCharset(String value)
Implements the corresponding API in the interface
Context
.
setAcceptCharset
in interface IContext
value
- the value for ACCEPT_CHARSETsetAcceptCharset(String)
public void setAcceptEncoding(String value)
Implements the corresponding API in the interface
Context
.
setAcceptEncoding
in interface IContext
value
- the value for ACCEPT_ENCODINGsetAcceptEncoding(String)
public String setAcceptLanguage()
Implements the corresponding API in the interface
Context
.
setAcceptLanguage()
public void setAcceptLanguage(String value)
Implements the corresponding API in the interface
Context
.
setAcceptLanguage
in interface IContext
value
- the value for ACCEPT_LANGUAGEsetAcceptLanguage(String)
public void setAcceptRanges(String value)
Implements the corresponding API in the interface
Context
.
setAcceptRanges
in interface IContext
value
- the value for ACCEPT_RANGESsetAcceptRanges(String)
public void setAge(int seconds)
Implements the corresponding API in the interface
Context
.
setAge
in interface IContext
seconds
- the value for AGEsetAge(int)
public void setAllBindings(String s)
Implements the corresponding API in the interface
Context
.
setAllBindings
in interface IContext
s
- the value for ALL_BINDINGSsetAllBindings(String)
public void setAllow(String value)
Implements the corresponding API in the interface
Context
.
setAllow
in interface IContext
value
- the value for ALLOWsetAllow(String)
public void setAuthorization(String value)
Implements the corresponding API in the interface
Context
.
setAuthorization
in interface IContext
value
- the value for AUTHORIZATIONsetAuthorization(String)
public void setCacheControl(String value)
Implements the corresponding API in the interface
Context
.
setCacheControl
in interface IContext
value
- the value for CACHE_CONTROLsetCacheControl(String)
public void setConnection(String value)
Implements the corresponding API in the interface
Context
.
setConnection
in interface IContext
value
- the value for CONNECTIONsetConnection(String)
public void setContentBase(String url)
Implements the corresponding API in the interface
Context
.
setContentBase
in interface IContext
url
- the value for CONTENT_BASEsetContentBase(String)
public void setContentEncoding(String value)
Implements the corresponding API in the interface
Context
.
setContentEncoding
in interface IContext
value
- the value for CONTENT_ENCODINGsetContentEncoding(String)
public void setContentLanguage(String value)
Implements the corresponding API in the interface
Context
.
setContentLanguage
in interface IContext
value
- the value for CONTENT_LANGUAGEsetContentLanguage(String)
public void setContentLength(long value)
Implements the corresponding API in the interface
Context
.
setContentLength
in interface IContext
value
- the value for CONTENT_LENGTHsetContentLength(long)
public void setContentLocation(String value)
Implements the corresponding API in the interface
Context
.
setContentLocation
in interface IContext
value
- the value for CONTENT_LOCATIONsetContentLocation(String)
public void setContentMD5(String value)
Implements the corresponding API in the interface
Context
.
setContentMD5
in interface IContext
value
- the value for CONTENT_MD5setContentMD5(String)
public void setContentRange(String value)
Implements the corresponding API in the interface
Context
.
setContentRange
in interface IContext
value
- the value for CONTENT_RANGEsetContentRange(String)
public void setContentType(String value)
Implements the corresponding API in the interface
Context
.
setContentType
in interface IContext
value
- the value for CONTENT_TYPEsetContentType(String)
public void setDate(String value)
Implements the corresponding API in the interface
Context
.
setDate
in interface IContext
value
- the value for DATEsetDate(String)
public void setDAV(String value)
Implements the corresponding API in the interface
Context
.
setDAV
in interface IContext
value
- the value for DAVsetDAV(String)
public void setDepth(String s)
Implements the corresponding API in the interface
Context
.
setDepth
in interface IContext
s
- the value for DEPTHsetDepth(String)
public void setDestination(String value)
Implements the corresponding API in the interface
Context
.
setDestination
in interface IContext
value
- the value for DESTINATIONsetDestination(String)
public void setETag(String value)
Implements the corresponding API in the interface
Context
.
setETag
in interface IContext
value
- the value for ETAGsetETag(String)
public void setExpires(String value)
Implements the corresponding API in the interface
Context
.
setExpires
in interface IContext
value
- the value for EXPIRESsetExpires(String)
public void setFrom(String s)
Implements the corresponding API in the interface
Context
.
setFrom
in interface IContext
s
- the value for FROMFROM
public void setHost(String value)
Implements the corresponding API in the interface
Context
.
setHost
in interface IContext
value
- the value for HOSTsetHost(String)
public void setIfKey(String s)
Implements the corresponding API in the interface
Context
.
setIfKey
in interface IContext
s
- the value for IFsetIfKey(String)
public void setIfMatch(String s)
Implements the corresponding API in the interface
Context
.
setIfMatch
in interface IContext
s
- the value for IF_MATCHsetIfMatch(String)
public void setIfModifiedSince(String s)
Implements the corresponding API in the interface
Context
.
setIfModifiedSince
in interface IContext
s
- the value for IF_MODIFIED_SINCEsetIfModifiedSince(String)
public void setIfNoneMatch(String s)
Implements the corresponding API in the interface
Context
.
setIfNoneMatch
in interface IContext
s
- the value for IF_NONE_MATCHsetIfNoneMatch(String)
public void setIfRange(String s)
Implements the corresponding API in the interface
Context
.
setIfRange
in interface IContext
s
- the value for IF_RANGEsetIfRange(String)
public void setIfUnmodifiedSince(String s)
Implements the corresponding API in the interface
Context
.
setIfUnmodifiedSince
in interface IContext
s
- the value for IF_UNMODIFIED_SINCEsetIfUnmodifiedSince(String)
public void setLabel(String value)
Implements the corresponding API in the interface
Context
.
setLabel
in interface IContext
value
- the value for LABELsetLabel(String)
public void setLastModified(String value)
Implements the corresponding API in the interface
Context
.
setLastModified
in interface IContext
value
- the value for LAST_MODIFIEDsetLastModified(String)
public void setLocation(String value)
Implements the corresponding API in the interface
Context
.
setLocation
in interface IContext
value
- the value for LOCATIONLOCATION
public void setLockToken(String token)
Implements the corresponding API in the interface
Context
.
setLockToken
in interface IContext
token
- the value for LOCK_TOKENsetLockToken(String)
public void setMaxForwards(int i)
Implements the corresponding API in the interface
Context
.
setMaxForwards
in interface IContext
i
- the value for MAX_FORWARDSsetMaxForwards(int)
public void setOrdered(String value)
Implements the corresponding API in the interface
Context
.
setOrdered
in interface IContext
value
- the value for ORDEREDsetOrdered(String)
public void setOverwrite(boolean value)
Implements the corresponding API in the interface
Context
.
setOverwrite
in interface IContext
value
- the value for OVERWRITEsetOverwrite(boolean)
public void setPassthrough(boolean value)
Implements the corresponding API in the interface
Context
.
setPassthrough
in interface IContext
value
- the value for PASSTHROUGHsetPassthrough(boolean)
public void setPosition(String s)
Implements the corresponding API in the interface
Context
.
setPosition
in interface IContext
s
- the value for POSITIONsetPosition(String)
public void setPragma(String value)
Implements the corresponding API in the interface
Context
.
setPragma
in interface IContext
value
- the value for PRAGMAsetPragma(String)
public void setPrecondition(String value)
Implements the corresponding API in the interface
Context
.
value
- the value for the preconditionsetPrecondition(String)
public void setProxyAuthenticate(String value)
Implements the corresponding API in the interface
Context
.
setProxyAuthenticate
in interface IContext
value
- the value for PROXY_AUTHENTICATEsetProxyAuthenticate(String)
public void setProxyAuthorization(String value)
Implements the corresponding API in the interface
Context
.
setProxyAuthorization
in interface IContext
value
- the value for PROXY_AUTHORIZATIONsetProxyAuthorization(String)
public void setPublicKey(String value)
Implements the corresponding API in the interface
Context
.
setPublicKey
in interface IContext
value
- the value for PUBLIC_KEYsetPublicKey(String)
public void setRange(String value)
Implements the corresponding API in the interface
Context
.
setRange
in interface IContext
value
- the value for RANGEsetRange(String)
public void setReferer(String value)
Implements the corresponding API in the interface
Context
.
setReferer
in interface IContext
value
- the value for REFERERsetReferer(String)
public void setRefTarget(String value)
Implements the corresponding API in the interface
Context
.
setRefTarget
in interface IContext
value
- the value for REF_TARGETsetRefTarget(String)
public void setResourceType(String value)
Implements the corresponding API in the interface
Context
.
setResourceType
in interface IContext
value
- the value for RESOURCE_TYPEsetResourceType(String)
public void setRetryAfter(String value)
Implements the corresponding API in the interface
Context
.
setRetryAfter
in interface IContext
value
- the value for RETRY_AFTERsetRetryAfter(String)
public void setServer(String value)
Implements the corresponding API in the interface
Context
.
setServer
in interface IContext
value
- the value for SERVERsetServer(String)
public void setStatusURI(String value)
Implements the corresponding API in the interface
Context
.
setStatusURI
in interface IContext
value
- the value for STATUS_URIsetStatusURI(String)
public void setTimeout(int value)
Implements the corresponding API in the interface
Context
.
setTimeout
in interface IContext
value
- the value for TIMEOUTsetTimeout(int)
public void setTransferEncoding(String value)
Implements the corresponding API in the interface
Context
.
setTransferEncoding
in interface IContext
value
- the value for TRANSFER_ENCODINGsetTransferEncoding(String)
public void setUpgrade(String value)
Implements the corresponding API in the interface
Context
.
setUpgrade
in interface IContext
value
- the value for UPGRADEsetUpgrade(String)
public void setUserAgent(String value)
Implements the corresponding API in the interface
Context
.
setUserAgent
in interface IContext
value
- the value for USER_AGENTsetUserAgent(String)
public void setVary(String value)
Implements the corresponding API in the interface
Context
.
setVary
in interface IContext
value
- the value for VARYsetVary(String)
public void setVia(String value)
Implements the corresponding API in the interface
Context
.
setVia
in interface IContext
value
- the value for VIAsetVia(String)
public void setWarning(String value)
Implements the corresponding API in the interface
Context
.
setWarning
in interface IContext
value
- the value for WARNINGsetWarning(String)
public void setWWWAuthenticate(String value)
Implements the corresponding API in the interface
Context
.
setWWWAuthenticate
in interface IContext
value
- the value for WWW_AUTHENTICATEsetWWWAuthenticate(String)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |