Top Description Methods
javax.xml.ws

public Interface Binding

Known Direct Subinterfaces
javax.xml.ws.http.HTTPBinding, javax.xml.ws.soap.SOAPBinding

The Binding interface is the base interface for JAX-WS protocol bindings.
Since
1.6, JAX-WS 2.0

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

String The binding identifier for the port. Never returns null
getBindingID
()

Get the URI for this binding instance.

public List<Handler<C extends MessageContext>>

Returns:

java.util.List<Handler> Handler chain
getHandlerChain
()

Gets a copy of the handler chain for a protocol binding instance.

public void
setHandlerChain(List<Handler<C extends MessageContext>>
A List of handler configuration entries
chain
)

Sets the handler chain for the protocol binding instance.

Method Detail

getBindingIDback to summary
public String getBindingID()

Get the URI for this binding instance.

Returns:String

String The binding identifier for the port. Never returns null

Since
1.6, JAX-WS 2.1
getHandlerChainback to summary
public List<Handler<C extends MessageContext>> getHandlerChain()

Gets a copy of the handler chain for a protocol binding instance. If the returned chain is modified a call to setHandlerChain is required to configure the binding instance with the new chain.

Returns:List<Handler<C extends MessageContext>>

java.util.List<Handler> Handler chain

setHandlerChainback to summary
public void setHandlerChain(List<Handler<C extends MessageContext>> chain)

Sets the handler chain for the protocol binding instance.

Parameters
chain:List<Handler<C extends MessageContext>>

A List of handler configuration entries

Exceptions
WebServiceException:
On an error in the configuration of the handler chain
UnsupportedOperationException:
If this operation is not supported. This may be done to avoid any overriding of a pre-configured handler chain.