|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.document.Advertisement
net.jxta.document.ExtendableAdvertisement
net.jxta.protocol.TransportAdvertisement
net.jxta.impl.protocol.HTTPAdv
Configuration parameters for HttpServelet Message Transport.
Nested Class Summary | |
static class |
HTTPAdv.Instantiator
Our instantiator. |
Field Summary |
Fields inherited from class net.jxta.protocol.TransportAdvertisement |
protocol |
Method Summary | |
static String |
getAdvertisementType()
{@inheritDoc} |
String |
getConfigMode()
returns the config mode. |
Document |
getDocument(MimeMediaType encodeAs)
|
String[] |
getIndexFields()
|
String |
getInterfaceAddress()
Returns the interfaceAddr. |
int |
getPort()
Returns the port number to which server sockets are locally bound. |
String |
getProxy()
|
boolean |
getPublicAddressOnly()
|
String |
getServer()
|
protected boolean |
handleElement(Element raw)
|
boolean |
isClientEnabled()
|
boolean |
isProxyEnabled()
|
boolean |
isServerEnabled()
|
void |
setClientEnabled(boolean enabled)
|
void |
setConfigMode(String mode)
set the config mode. |
void |
setInterfaceAddress(String address)
Returns the interfaceAddr. |
void |
setPort(int newPort)
Sets the port number to which server sockets are locally bound. |
void |
setProxy(String name)
|
void |
setProxyEnabled(boolean enabled)
|
void |
setPublicAddressOnly(boolean only)
|
void |
setServer(String name)
|
void |
setServerEnabled(boolean enabled)
|
Methods inherited from class net.jxta.protocol.TransportAdvertisement |
getBaseAdvType, getID, getProtocol, setProtocol |
Methods inherited from class net.jxta.document.Advertisement |
clone, getAdvType, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static String getAdvertisementType()
protected boolean handleElement(Element raw)
public Document getDocument(MimeMediaType encodeAs)
public String getInterfaceAddress()
public void setInterfaceAddress(String address)
public boolean getPublicAddressOnly()
public void setPublicAddressOnly(boolean only)
public String getConfigMode()
public void setConfigMode(String mode)
mode
- Can be "auto", "manual" other settings will act as the default
which is "auto".public int getPort()
public void setPort(int newPort)
public String getProxy()
public String getServer()
public boolean isProxyEnabled()
public boolean isServerEnabled()
public boolean isClientEnabled()
public void setProxy(String name)
public void setServer(String name)
public void setProxyEnabled(boolean enabled)
public void setServerEnabled(boolean enabled)
public void setClientEnabled(boolean enabled)
public final String[] getIndexFields()
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |