public static interface MessageSender.IRedirectHandler
Java interface enables to be aware of HTTP redirection events in your client application.
Implement this Java interface to be aware of HTTP redirection events (301, Moved Permanently).
Design and develop your onRedirect(..) method in your MessageSender.
| Modifier and Type | Method and Description |
|---|---|
void |
onRedirect(java.net.URL fromURL,
java.net.URL toURL)
Invoked each time a redirect occurred on HTTP (301, Moved Permanently)
|