org.apache.struts2.convention

## Interface InterceptorMapBuilder

- All Known Implementing Classes:
    DefaultInterceptorMapBuilder

      public interface InterceptorMapBuilder

  This interface defines how interceptors are built from annotations.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<InterceptorMapping>` | `build(Class<?> actionClass, PackageConfig.Builder builder, String actionName, Action annotation)` Builds the interceptor configurations given the action information.

- - ### Method Detail

    - #### build

          List<InterceptorMapping> build(Class<?> actionClass,
                                         PackageConfig.Builder builder,
                                         String actionName,
                                         Action annotation)

      Builds the interceptor configurations given the action information.
      Parameters:
        `actionClass` - The class of the action.
        `annotation` - The action annotation.
        `actionName` - The action name.
        `builder` - The package configuration builder.
      Returns:
        The mapping of the interceptors. If there were none found then this should return an empty List.

Copyright © 2000–2023 Apache Software Foundation. All rights reserved.