mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-04 12:59:30 +00:00
JETTY-1421 Implement RedirectListener.onException,onConnectionFailed
This commit is contained in:
parent
d37f2ca10c
commit
40b25e6f5a
@ -170,5 +170,28 @@ public class RedirectListener extends HttpEventListenerWrapper
|
||||
|
||||
super.onRetry();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Delegate failed connection
|
||||
*/
|
||||
@Override
|
||||
public void onConnectionFailed( Throwable ex )
|
||||
{
|
||||
setDelegatingRequests(true);
|
||||
setDelegatingResponses(true);
|
||||
|
||||
super.onConnectionFailed( ex );
|
||||
}
|
||||
|
||||
/**
|
||||
* Delegate onException
|
||||
*/
|
||||
@Override
|
||||
public void onException( Throwable ex )
|
||||
{
|
||||
setDelegatingRequests(true);
|
||||
setDelegatingResponses(true);
|
||||
|
||||
super.onException( ex );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user