com.ail.core.urlhandler.product
Class Handler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by com.ail.core.urlhandler.product.Handler

public class Handler
extends java.net.URLStreamHandler

The handler for the "product://" URLs. All this class does is to transparently transform a "product://" URL into a reference to a resource in the product repository.

For example, a URL like: product://localhost:8080/Demo/Demo/Welcome.html is translated into a call to http://localhost:8080/alfresco/download/direct?path=/Company%20Home/Product/Demo/Demo/Welcome.html.

This handler is specifically implemented to work with alfresco. It also assumes that access to Product resources is restricted and requires authentication.


Constructor Summary
Handler()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Handler

public Handler()