Interface InterceptorCreator
public interface InterceptorCreator
Interceptor creator is used to create instance of interceptor for stages where they are required.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Base context class that contains information and services to the creator without any association to the underlying stage.static interface
Context that provides runtime information and services to the creator.static enum
Type of the interceptor represents where exactly is the interceptor going to be executed. -
Method Summary
Modifier and TypeMethodDescriptionThis method packs information about Blobstore resource that this Interceptor uses.create
(InterceptorCreator.Context context) Create interceptor if needed for given stage.
-
Method Details
-
create
Create interceptor if needed for given stage.- Parameters:
context
- Creator context- Returns:
- Interceptor that should be used for given stage or null if no interceptor is needed.
-
blobStoreResource
This method packs information about Blobstore resource that this Interceptor uses.- Returns:
- List of BlobstoreDef
-