com.ephox.editlive.custom
Interface HTTPUrlCallback


public interface HTTPUrlCallback

Interface to allow developers to redirect all http requests to customised URLs if required. The callback should only be used for the context of preceding an http request to an URL, and it will be applied to all URLs.


Method Summary
 URL transformUrl(URL target)
          Accepts the current requested URL and performs any neccessary transformations or redirections before returning the new requested URL.
 

Method Detail

transformUrl

public URL transformUrl(URL target)
Accepts the current requested URL and performs any neccessary transformations or redirections before returning the new requested URL.

Parameters:
target - The currently requested URL
Returns:
The transformed URL

Copyright (c) 2005-2007 Ephox Pty Ltd. All rights reserved.