Index
All Classes and Interfaces|All Packages|Serialized Form
C
- com.netflix.spinnaker.config - package com.netflix.spinnaker.config
- com.netflix.spinnaker.kork.retrofit - package com.netflix.spinnaker.kork.retrofit
- com.netflix.spinnaker.kork.retrofit.exceptions - package com.netflix.spinnaker.kork.retrofit.exceptions
E
- ErrorHandlingExecutorCallAdapterFactory - Class in com.netflix.spinnaker.kork.retrofit
-
RetrofitErrorandErrorHandlerare no longer present in retrofit2. - execute(Call<T>) - Static method in class com.netflix.spinnaker.kork.retrofit.Retrofit2SyncCall
-
Handle IOExceptions from
Call.execute method centrally, instead of all places that make retrofit2 API calls. - executeCall(Call<T>) - Static method in class com.netflix.spinnaker.kork.retrofit.Retrofit2SyncCall
-
Handle IOExceptions from
Call.execute method centrally, instead of all places that make retrofit2 API calls.
G
- get(Type, Annotation[], Retrofit) - Method in class com.netflix.spinnaker.kork.retrofit.ErrorHandlingExecutorCallAdapterFactory
-
Returns a call adapter for interface methods that return
returnType, or null if returnType is not instance ofCallandParameterizedType. - getHeaders() - Method in exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerHttpException
- getInstance() - Static method in class com.netflix.spinnaker.kork.retrofit.ErrorHandlingExecutorCallAdapterFactory
- getInstance() - Static method in class com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerRetrofitErrorHandler
-
Returns an instance of a
SpinnakerRetrofitErrorHandler. - getInstance(Executor) - Static method in class com.netflix.spinnaker.kork.retrofit.ErrorHandlingExecutorCallAdapterFactory
- getMessage() - Method in exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerHttpException
- getReason() - Method in exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerHttpException
- getResponseBody() - Method in exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerHttpException
- getResponseCode() - Method in exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerHttpException
H
- handleError(RetrofitError) - Method in class com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerRetrofitErrorHandler
-
Returns a more specific
Throwabledepending on properties of the caughtRetrofitError. - handleError(RetrofitError, Function<Throwable, String>) - Method in class com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerRetrofitErrorHandler
-
For SpinnakerExceptions, return a new exception of the same type with the return value of handleError as its cause, with a message from messageBuilder.
- handleSpinnakerHttpException(SpinnakerHttpException, HttpServletResponse, HttpServletRequest) - Method in class com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerRetrofitExceptionHandlers
- handleSpinnakerServerException(SpinnakerServerException, HttpServletResponse, HttpServletRequest) - Method in class com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerRetrofitExceptionHandlers
N
- newInstance(String) - Method in exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerConversionException
- newInstance(String) - Method in exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerHttpException
- newInstance(String) - Method in exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerNetworkException
- newInstance(String) - Method in exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerServerException
R
- Retrofit2SyncCall<T> - Class in com.netflix.spinnaker.kork.retrofit
- Retrofit2SyncCall() - Constructor for class com.netflix.spinnaker.kork.retrofit.Retrofit2SyncCall
- RetrofitErrorConfiguration - Class in com.netflix.spinnaker.config
- RetrofitErrorConfiguration() - Constructor for class com.netflix.spinnaker.config.RetrofitErrorConfiguration
- RetrofitServiceFactoryAutoConfiguration - Class in com.netflix.spinnaker.kork.retrofit
- RetrofitServiceFactoryAutoConfiguration() - Constructor for class com.netflix.spinnaker.kork.retrofit.RetrofitServiceFactoryAutoConfiguration
S
- SpinnakerConversionException - Exception in com.netflix.spinnaker.kork.retrofit.exceptions
-
Wraps an exception converting a successful retrofit http response body to its indicated type
- SpinnakerConversionException(String, SpinnakerConversionException) - Constructor for exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerConversionException
-
Construct a SpinnakerConversionException from another SpinnakerConversionException (e.g.
- SpinnakerConversionException(String, Throwable, Request) - Constructor for exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerConversionException
-
Construct a SpinnakerServerException from retrofit2 with a message and cause (e.g.
- SpinnakerConversionException(RetrofitError) - Constructor for exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerConversionException
-
Construct a SpinnakerConversionException corresponding to a RetrofitError.
- SpinnakerHttpException - Exception in com.netflix.spinnaker.kork.retrofit.exceptions
-
An exception that exposes the
Responseof a given HTTPRetrofitErrororResponseif retrofit 2.x used and a detail message that extracts useful information from theResponseorResponse. - SpinnakerHttpException(String, SpinnakerHttpException) - Constructor for exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerHttpException
-
Construct a SpinnakerHttpException with a specified message.
- SpinnakerHttpException(RetrofitError) - Constructor for exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerHttpException
-
Construct a SpinnakerHttpException corresponding to a RetrofitError.
- SpinnakerHttpException(Response<?>, Retrofit) - Constructor for exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerHttpException
-
The constructor handles the HTTP retrofit2 exception, similar to retrofit logic.
- SpinnakerNetworkException - Exception in com.netflix.spinnaker.kork.retrofit.exceptions
-
Represents a network error while attempting to execute a retrofit http client request.
- SpinnakerNetworkException(String, SpinnakerNetworkException) - Constructor for exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerNetworkException
-
Construct a SpinnakerNetworkException from another SpinnakerNetworkException (e.g.
- SpinnakerNetworkException(Throwable, Request) - Constructor for exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerNetworkException
-
Construct a SpinnakerNetworkException from retrofit2 with a cause (e.g.
- SpinnakerNetworkException(RetrofitError) - Constructor for exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerNetworkException
-
Construct a SpinnakerNetworkException corresponding to a RetrofitError.
- SpinnakerRetrofitErrorHandler - Class in com.netflix.spinnaker.kork.retrofit.exceptions
-
An error handler to be registered with a
RestAdapter. - SpinnakerRetrofitExceptionHandlers - Class in com.netflix.spinnaker.kork.retrofit.exceptions
-
Give this controller advice precedence over GenericExceptionHandlers in kork-web.
- SpinnakerRetrofitExceptionHandlers(ExceptionMessageDecorator) - Constructor for class com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerRetrofitExceptionHandlers
- SpinnakerServerException - Exception in com.netflix.spinnaker.kork.retrofit.exceptions
-
Represents an error while attempting to execute a retrofit http client request.
- SpinnakerServerException(String, SpinnakerServerException) - Constructor for exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerServerException
-
Construct a SpinnakerServerException from another SpinnakerServerException (e.g.
- SpinnakerServerException(String, Throwable, Request) - Constructor for exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerServerException
-
Construct a SpinnakerServerException from retrofit2 with a message and cause (e.g.
- SpinnakerServerException(Throwable, Request) - Constructor for exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerServerException
-
Construct a SpinnakerServerException from retrofit2 with a cause (e.g.
- SpinnakerServerException(Request) - Constructor for exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerServerException
-
Construct a SpinnakerServerException from retrofit2 with no cause (e.g.
- SpinnakerServerException(RetrofitError) - Constructor for exception com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerServerException
-
Construct a SpinnakerServerException corresponding to a RetrofitError.
All Classes and Interfaces|All Packages|Serialized Form