org.jasig.schedassist.impl.caldav
Class SchemeRegistryProvider

java.lang.Object
  extended by org.jasig.schedassist.impl.caldav.SchemeRegistryProvider

public final class SchemeRegistryProvider
extends Object

Commons HttpClient's connection manager depends on a SchemeRegistry. SchemeRegistryFactory.createDefault() will return one that is ready for the default ports, but if your CalDAV server is on an alternate port it won't work. This class provides a static method that can be used to setup a SchemeRegistry that is configured properly for CalDAV servers on alternate ports.

Version:
$Id: SchemeRegistryProvider.java $
Author:
Nicholas Blair

Constructor Summary
SchemeRegistryProvider()
           
 
Method Summary
static org.apache.http.conn.scheme.SchemeRegistry createSchemeRegistry(String schemeName, int port, boolean useSsl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemeRegistryProvider

public SchemeRegistryProvider()
Method Detail

createSchemeRegistry

public static org.apache.http.conn.scheme.SchemeRegistry createSchemeRegistry(String schemeName,
                                                                              int port,
                                                                              boolean useSsl)
Parameters:
schemeName -
port -
useSsl -
Returns:
See Also:
SchemeRegistryFactory.createDefault()


Copyright © 2012 Jasig. All Rights Reserved.