Novell exteNd Web Services SDK API

com.sssw.jbroker.web
Class Binding

java.lang.Object
  extended bycom.sssw.jbroker.web.Binding
All Implemented Interfaces:
Serializable

public class Binding
extends Object
implements Serializable

Binding represents the network address and protocol used to access a service.

See Also:
Serialized Form

Constructor Summary
Binding(String protocol, String urlStr)
          Create a binding for a given XML protocol and network address.
 
Method Summary
 boolean equals(Object other)
          Indicates whether some other object is "equal to" this one.
 String getProtocol()
          Get the XML protocol
 String getURLStr()
          Get the network address
 String toString()
          Get a string representation of the object
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Binding

public Binding(String protocol,
               String urlStr)
Create a binding for a given XML protocol and network address.

Parameters:
protocol - the binding's protocol, e.g. "soap"
urlStr - the endpoint URL
    Binding binding = new Binding("soap", "http://acme.com/quotes");
 
Method Detail

getURLStr

public String getURLStr()
Get the network address

Returns:
the endpoint URL string

getProtocol

public String getProtocol()
Get the XML protocol

Returns:
the XML protocol string

equals

public boolean equals(Object other)
Indicates whether some other object is "equal to" this one.


toString

public String toString()
Get a string representation of the object

Returns:
string form of binding

Novell exteNd Web Services SDK API

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.