public final class SessionManager
extends org.jclouds.http.handlers.BackoffLimitedRetryHandler
implements org.jclouds.http.HttpRequestFilter
| Modifier and Type | Method and Description |
|---|---|
org.jclouds.http.HttpRequest |
filter(org.jclouds.http.HttpRequest request) |
void |
logoutOnClose()
it is important that we close any sessions on close to help the server not
become overloaded.
|
boolean |
shouldRetryRequest(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response) |
public org.jclouds.http.HttpRequest filter(org.jclouds.http.HttpRequest request)
throws org.jclouds.http.HttpException
filter in interface org.jclouds.http.HttpRequestFilterorg.jclouds.http.HttpExceptionpublic boolean shouldRetryRequest(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response)
shouldRetryRequest in interface org.jclouds.http.HttpRetryHandlershouldRetryRequest in class org.jclouds.http.handlers.BackoffLimitedRetryHandler@PreDestroy public void logoutOnClose()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.