Class FilterDTOBuilder
java.lang.Object
org.apache.felix.http.base.internal.runtime.dto.FilterDTOBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull org.osgi.service.servlet.runtime.dto.FilterDTO[]build(@NotNull FilterHandler[] handlers) Build an array of filter DTOs from a filter handler arraystatic @NotNull org.osgi.service.servlet.runtime.dto.FilterDTObuild(@NotNull FilterHandler handler, int reason) Build a filter DTO from a filter handlerstatic @NotNull org.osgi.service.servlet.runtime.dto.FilterDTObuild(@NotNull FilterInfo info, int reason) Build a filter DTO from a filter info
-
Constructor Details
-
FilterDTOBuilder
public FilterDTOBuilder()
-
-
Method Details
-
build
@NotNull public static @NotNull org.osgi.service.servlet.runtime.dto.FilterDTO[] build(@NotNull @NotNull FilterHandler[] handlers) Build an array of filter DTOs from a filter handler array- Parameters:
handlers- The filter handler array- Returns:
- The filter DTO array
-
build
@NotNull public static @NotNull org.osgi.service.servlet.runtime.dto.FilterDTO build(@NotNull @NotNull FilterHandler handler, int reason) Build a filter DTO from a filter handler- Parameters:
handler- The filter handlerreason- The reason for the failure- Returns:
- A filter DTO
-
build
@NotNull public static @NotNull org.osgi.service.servlet.runtime.dto.FilterDTO build(@NotNull @NotNull FilterInfo info, int reason) Build a filter DTO from a filter info- Parameters:
info- The filter inforeason- The reason for the failure- Returns:
- A filter DTO
-