|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.resin.PortEmbed
com.caucho.resin.HttpEmbed
public class HttpEmbed
Embeddable version of a HTTP port
Constructor Summary | |
---|---|
HttpEmbed()
Creates a new HttpEmbed configuration. |
|
HttpEmbed(int port)
Creates a new HttpEmbed configuration with a specified port. |
|
HttpEmbed(int port,
java.lang.String ipAddress)
Creates a new HttpEmbed configuration with a specified port. |
Method Summary | |
---|---|
void |
bindTo(ServletService server)
Binds the port to the server |
int |
getLocalPort()
Returns the local, bound port |
Methods inherited from class com.caucho.resin.PortEmbed |
---|
getAddress, getPort, setAddress, setPort |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpEmbed()
public HttpEmbed(int port)
port
- the TCP port of the embedded HTTP port.public HttpEmbed(int port, java.lang.String ipAddress)
port
- the TCP port of the embedded HTTP port.address
- the TCP IP address of the embedded HTTP port.Method Detail |
---|
public int getLocalPort()
getLocalPort
in class PortEmbed
public void bindTo(ServletService server)
bindTo
in class PortEmbed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |