com.twitter.common.net
Interface UrlResolver.ResolvedUrlHandler

Enclosing class:
UrlResolver

public static interface UrlResolver.ResolvedUrlHandler

Interface to use for notifying the caller of resolved URLs.


Method Summary
 void resolved(Future<UrlResolver.ResolvedUrl> future)
          Signals that a URL has been resolved to its target.
 

Method Detail

resolved

void resolved(Future<UrlResolver.ResolvedUrl> future)
Signals that a URL has been resolved to its target. The implementation of this method must be thread safe.

Parameters:
future - The future that has finished resolving a URL.