|
Project JXTA | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.jxta.impl.config.HttpConfig
Sub-configuration for HTTP-specific settings. Instances of this class are normally contained within a Config instance.
Constructor Summary | |
HttpConfig()
|
Method Summary | |
static HttpConfig |
createDefaultConfig()
Creates a default config instance. |
java.lang.String |
getImplClassname()
Returns the implementation classname for the transport. |
net.jxta.endpoint.EndpointAddress |
getProxyAddress()
Gets the hostadress of the proxy server that the peer is using. |
net.jxta.endpoint.EndpointAddress |
getPublicAddress()
Gets the public address to expose for HTTP-based communications |
net.jxta.endpoint.EndpointAddress |
getRouterAddress()
Gets the hostname of the router that the peer is using. |
net.jxta.endpoint.EndpointAddress |
getServerAddress()
Gets the port on which the HTTP server will listen. |
boolean |
getUseProxy()
Returns whether to use the defined proxy server |
boolean |
getUsePublicAddress()
Tells whether to use the specified public address |
static HttpConfig |
newFromXML(net.jxta.document.TextElement parent)
Creates a new HttpConfig instance given a parent "Http" element |
void |
setImplClassname(java.lang.String aImplClassname)
Sets the implementation classname for the transport. |
void |
setProxyAddress(net.jxta.endpoint.EndpointAddress aProxyAddress)
Sets the hostname of the proxy that the peer is using |
void |
setPublicAddress(net.jxta.endpoint.EndpointAddress aPublicAddress)
Sets the public address to expose for HTTP-based communications |
void |
setRouterAddress(net.jxta.endpoint.EndpointAddress aRouterAddress)
Sets the hostname of the router that the peer is using. |
void |
setServerAddress(net.jxta.endpoint.EndpointAddress aAddress)
Sets the port on which the HTTP server will listen. |
void |
setUseProxy(boolean aUseProxy)
Sets whether to use the defined proxy server |
void |
setUsePublicAddress(boolean aUsePublicAddress)
Sets whether to use the specified public address |
void |
writeToXML(net.jxta.document.StructuredTextDocument doc)
Writes self to doc. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public HttpConfig()
Method Detail |
public static HttpConfig createDefaultConfig()
public static HttpConfig newFromXML(net.jxta.document.TextElement parent)
public void writeToXML(net.jxta.document.StructuredTextDocument doc)
public net.jxta.endpoint.EndpointAddress getServerAddress()
public void setServerAddress(net.jxta.endpoint.EndpointAddress aAddress)
public java.lang.String getImplClassname()
public void setImplClassname(java.lang.String aImplClassname)
public net.jxta.endpoint.EndpointAddress getRouterAddress()
public void setRouterAddress(net.jxta.endpoint.EndpointAddress aRouterAddress)
public net.jxta.endpoint.EndpointAddress getProxyAddress()
public void setProxyAddress(net.jxta.endpoint.EndpointAddress aProxyAddress)
public boolean getUseProxy()
public void setUseProxy(boolean aUseProxy)
public net.jxta.endpoint.EndpointAddress getPublicAddress()
public void setPublicAddress(net.jxta.endpoint.EndpointAddress aPublicAddress)
public boolean getUsePublicAddress()
public void setUsePublicAddress(boolean aUsePublicAddress)
|
Project JXTA | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |