Package jade.mtp.http
Class HTTPAddress
- java.lang.Object
-
- jade.mtp.http.HTTPAddress
-
- All Implemented Interfaces:
TransportAddress,Serializable,Serializable
public class HTTPAddress extends Object implements TransportAddress
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(HTTPAddress a)Check if HTTP addresses are equivalent (same port, same host, same proto)StringgetAnchor()Get the value of anchorStringgetFile()Get the value of fileStringgetHost()Get the value of hostStringgetPort()Get the value of portintgetPortNo()Get the value of portStringgetProto()Get the value of protocolStringtoString()convert to String
-
-
-
Method Detail
-
equals
public boolean equals(HTTPAddress a)
Check if HTTP addresses are equivalent (same port, same host, same proto)
-
getProto
public String getProto()
Get the value of protocol- Specified by:
getProtoin interfaceTransportAddress
-
getHost
public String getHost()
Get the value of host- Specified by:
getHostin interfaceTransportAddress
-
getPort
public String getPort()
Get the value of port- Specified by:
getPortin interfaceTransportAddress
-
getPortNo
public int getPortNo()
Get the value of port
-
getFile
public String getFile()
Get the value of file- Specified by:
getFilein interfaceTransportAddress
-
getAnchor
public String getAnchor()
Get the value of anchor- Specified by:
getAnchorin interfaceTransportAddress
-
-