|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.windchill.ws.ContentHandle
public class ContentHandle
The ContentHandle class is a bean class that defines the HTTP method
and URL to be used in uploading or downloading a content item to/from
a Windchill server.
Supported API: true
Extendable: false
| Constructor Summary | |
|---|---|
ContentHandle()
Creates a new ContentHandle. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares this object to another for equality. |
String |
getMethod()
Gets the HTTP method to be used to dereference this ContentHandle. |
String |
getParameter(String name)
Gets a parameter value by name. |
String |
getParameter(String name,
String dflt)
Gets a parameter value by name. |
Map |
getParameters()
Gets a Map of parameters (query arguments) on the underlying URL. |
String |
getUrl()
Gets the underlying URL. |
void |
setMethod(String method)
Sets the HTTP method to be used when dereferencing this ContentHandle. |
void |
setParameter(String name,
String value)
Sets a parameter by name to a value. |
void |
setUrl(String url)
Sets the underlying URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentHandle()
| Method Detail |
|---|
public String getMethod()
public void setMethod(String method)
method - The method. e.g. "GET", "POST", etc.public String getUrl()
public void setUrl(String url)
url - The new URL.public Map getParameters()
public String getParameter(String name)
name - The parameter name to retrieve.
public String getParameter(String name,
String dflt)
name - The parameter name to retrieve.dflt - The default value to return if the parameter is not set.
public void setParameter(String name,
String value)
name - The parameter name.value - The parameter value.public boolean equals(Object obj)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||