|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.lenya.cms.publication.Proxy
public class Proxy
An object of this class represents a proxy configuration.
Configuration example ($PUB_HOME/config/publication.xml):
<proxies> <proxy area="live" ssl="true" url="https://www.host.com/ssl/default"/> <proxy area="live" ssl="false" url="http://www.host.com/default"/> <proxy area="authoring" ssl="true" url="https://www.host.com/lenya/default/authoring"/> <proxy area="authoring" ssl="false" url="http://www.host.com/lenya/default/authoring"/> <proxies;>
| Constructor Summary | |
|---|---|
Proxy()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getUrl()
Returns the proxy URL. |
java.lang.String |
getURL(Document document)
Returns the absolute URL of a particular document. |
void |
setUrl(java.lang.String _url)
Sets the proxy URL. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Proxy()
| Method Detail |
|---|
public java.lang.String getURL(Document document)
document - The document.
public java.lang.String getUrl()
public void setUrl(java.lang.String _url)
_url - The url to set.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||