Apache CXF API

org.apache.cxf.transport.http
Class DestinationRegistryImpl

java.lang.Object
  extended by org.apache.cxf.transport.http.DestinationRegistryImpl
All Implemented Interfaces:
DestinationRegistry

public class DestinationRegistryImpl
extends Object
implements DestinationRegistry


Constructor Summary
DestinationRegistryImpl()
           
 
Method Summary
 void addDestination(AbstractHTTPDestination destination)
           
 AbstractHTTPDestination checkRestfulRequest(String address)
           
 AbstractHTTPDestination getDestinationForPath(String path)
           
 AbstractHTTPDestination getDestinationForPath(String path, boolean tryDecoding)
           
 Collection<AbstractHTTPDestination> getDestinations()
           
 Set<String> getDestinationsPaths()
           
 AbstractDestination[] getSortedDestinations()
           
 String getTrimmedPath(String path)
          Remove the transport protocol from the path and make it starts with /
 void removeDestination(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DestinationRegistryImpl

public DestinationRegistryImpl()
Method Detail

addDestination

public void addDestination(AbstractHTTPDestination destination)
Specified by:
addDestination in interface DestinationRegistry

removeDestination

public void removeDestination(String path)
Specified by:
removeDestination in interface DestinationRegistry

getDestinationForPath

public AbstractHTTPDestination getDestinationForPath(String path)
Specified by:
getDestinationForPath in interface DestinationRegistry

getDestinationForPath

public AbstractHTTPDestination getDestinationForPath(String path,
                                                     boolean tryDecoding)
Specified by:
getDestinationForPath in interface DestinationRegistry

checkRestfulRequest

public AbstractHTTPDestination checkRestfulRequest(String address)
Specified by:
checkRestfulRequest in interface DestinationRegistry

getDestinations

public Collection<AbstractHTTPDestination> getDestinations()
Specified by:
getDestinations in interface DestinationRegistry

getSortedDestinations

public AbstractDestination[] getSortedDestinations()
Specified by:
getSortedDestinations in interface DestinationRegistry

getDestinationsPaths

public Set<String> getDestinationsPaths()
Specified by:
getDestinationsPaths in interface DestinationRegistry

getTrimmedPath

public String getTrimmedPath(String path)
Remove the transport protocol from the path and make it starts with /

Parameters:
path -
Returns:
trimmed path

Apache CXF API

Apache CXF