|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ws4d.java.communication.HTTPBinding
public class HTTPBinding
HTTP binding to allows access to DPWS devices and services.
This HTTP binding allows the creation of an HTTP address for a device or a
service.
HTTPBinding addr = new HTTPBinding("192.168.0.1", 8080, "/device");
Field Summary | |
---|---|
static int |
DISCOVERY_BINDING
|
static int |
HTTP_BINDING
|
static int |
HTTPS_BINDING
|
Constructor Summary | |
---|---|
HTTPBinding(IPAddress ipAddress,
int port,
java.lang.String path)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getCommunicationManagerId()
Returns the ID of the protocol/technology this binding corresponds to (e.g. |
IPAddress |
getHostAddress()
Returns the host address of this binding. |
java.lang.String |
getPath()
Returns the path of the HTTP address. |
int |
getPort()
Returns the TCP/UDP port for this IP-based binding. |
URI |
getTransportAddress()
Returns an URI for this binding. |
int |
getType()
|
java.lang.String |
getURISchema()
|
int |
hashCode()
|
void |
resetAutoPort()
|
void |
setPort(int port)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int HTTP_BINDING
public static final int HTTPS_BINDING
public static final int DISCOVERY_BINDING
Constructor Detail |
---|
public HTTPBinding(IPAddress ipAddress, int port, java.lang.String path)
ipAddress
- port
- path
- Method Detail |
---|
public java.lang.String getPath()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void setPort(int port)
port
- the port to setpublic void resetAutoPort()
public int getType()
getType
in interface CommunicationBinding
public URI getTransportAddress()
CommunicationBinding
getTransportAddress
in interface CommunicationBinding
public java.lang.String getURISchema()
public java.lang.String getCommunicationManagerId()
CommunicationBinding
getCommunicationManagerId
in interface CommunicationBinding
public IPAddress getHostAddress()
public int getPort()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |