org.apache.jetspeed.services.urlmanager
Class URLManager

java.lang.Object
  extended byorg.apache.jetspeed.services.urlmanager.URLManager

public class URLManager
extends java.lang.Object

This is a static wrapper around the URLManagerService for easing access to its functionalities

Version:
$Id: URLManager.java,v 1.8 2005/03/21 18:21:44 sgala Exp $
Author:
RaphaŽl Luta

Field Summary
static int STATUS_ANY
           
static int STATUS_BAD
           
static int STATUS_CONTENT_ERROR
           
static int STATUS_OK
           
static int STATUS_TEMPORARY_UNAVAILABLE
           
static int STATUS_UNKNOWN
           
static int STATUS_UNREACHABLE
           
 
Constructor Summary
URLManager()
           
 
Method Summary
static URLInfo getInfo(java.lang.String url)
           
static java.lang.String getProxyHost(java.lang.String protocol)
           
static int getProxyPort(java.lang.String protocol)
           
static boolean isOK(java.lang.String url)
           
static java.util.List list()
           
static java.util.List list(int status)
           
static void register(java.lang.String url)
           
static void register(java.lang.String url, int status)
           
static void register(java.lang.String url, int status, java.lang.String message)
           
static void register(URLInfo info)
           
static void unregister(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATUS_ANY

public static int STATUS_ANY
See Also:
URLManagerService.STATUS_ANY

STATUS_UNKNOWN

public static int STATUS_UNKNOWN
See Also:
URLManagerService.STATUS_UNKNOWN

STATUS_OK

public static int STATUS_OK
See Also:
URLManagerService.STATUS_OK

STATUS_UNREACHABLE

public static int STATUS_UNREACHABLE
See Also:
URLManagerService.STATUS_UNREACHABLE

STATUS_TEMPORARY_UNAVAILABLE

public static int STATUS_TEMPORARY_UNAVAILABLE
See Also:
URLManagerService.STATUS_TEMPORARY_UNAVAILABLE

STATUS_CONTENT_ERROR

public static int STATUS_CONTENT_ERROR
See Also:
URLManagerService.STATUS_CONTENT_ERROR

STATUS_BAD

public static int STATUS_BAD
See Also:
URLManagerService.STATUS_BAD
Constructor Detail

URLManager

public URLManager()
Method Detail

register

public static void register(java.lang.String url)
See Also:
URLManagerService.register(java.lang.String)

register

public static void register(java.lang.String url,
                            int status)
See Also:
URLManagerService.register(java.lang.String)

register

public static void register(java.lang.String url,
                            int status,
                            java.lang.String message)
See Also:
URLManagerService.register(java.lang.String)

register

public static void register(URLInfo info)
See Also:
URLManagerService.register(java.lang.String)

unregister

public static void unregister(java.lang.String url)
See Also:
URLManagerService.unregister(java.lang.String)

getInfo

public static URLInfo getInfo(java.lang.String url)
See Also:
URLManagerService.getInfo(java.lang.String)

isOK

public static boolean isOK(java.lang.String url)
See Also:
URLManagerService.isOK(java.lang.String)

list

public static java.util.List list()
See Also:
URLManagerService.list()

list

public static java.util.List list(int status)
See Also:
URLManagerService.list()

getProxyPort

public static int getProxyPort(java.lang.String protocol)
See Also:
URLManagerService.getProxyPort(java.lang.String)

getProxyHost

public static java.lang.String getProxyHost(java.lang.String protocol)
See Also:
URLManagerService.getProxyHost(java.lang.String)


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.