- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ProtocolType (0.15 sec)
-
src/main/java/org/codelibs/fess/validation/UriType.java
import org.codelibs.fess.validation.UriTypeValidator.ProtocolType; import jakarta.validation.Constraint; import jakarta.validation.Payload; @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER }) @Retention(RUNTIME) @Documented @Constraint(validatedBy = UriTypeValidator.class) public @interface UriType { ProtocolType protocolType();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileconfig/CreateForm.java
public Integer crudMode; @Required @Size(max = 200) public String name; @Size(max = 1000) public String description; @Required @UriType(protocolType = ProtocolType.FILE) @CustomSize(maxKey = "form.admin.max.input.size") public String paths; @CustomSize(maxKey = "form.admin.max.input.size") public String includedPaths;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
@Override public void initialize(final UriType uriType) { protocols = switch (uriType.protocolType()) { case WEB -> ComponentUtil.getProtocolHelper().getWebProtocols(); case FILE -> ComponentUtil.getProtocolHelper().getFileProtocols(); default -> throw new ConstraintDefinitionException("protocolType is emtpy."); }; } @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 17 13:37:12 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/webconfig/CreateForm.java
public Integer crudMode; @Required @Size(max = 200) public String name; @Size(max = 1000) public String description; @Required @UriType(protocolType = ProtocolType.WEB) @CustomSize(maxKey = "form.admin.max.input.size") public String urls; @CustomSize(maxKey = "form.admin.max.input.size") public String includedUrls;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
if (protocolTypeField.get(null) instanceof final String protocolType) { if ("web".equalsIgnoreCase(protocolType)) { addWebProtocol(protocol); } else if ("file".equalsIgnoreCase(protocolType)) { addFileProtocol(protocol); } else {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jun 19 01:34:15 UTC 2024 - 7.4K bytes - Viewed (0)