- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getWebProtocols (0.07 sec)
-
src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java
protocolHelper.addWebProtocol("httpx"); assertEquals(3, protocolHelper.getWebProtocols().length); assertEquals("http:", protocolHelper.getWebProtocols()[0]); assertEquals("https:", protocolHelper.getWebProtocols()[1]); assertEquals("httpx:", protocolHelper.getWebProtocols()[2]); assertEquals(2, protocolHelper.getFileProtocols().length);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Tue Jun 18 00:44:11 UTC 2024 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
private String[] protocols; @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/helper/ProtocolHelper.java
} catch (final Exception e) { logger.warn("Cannot load Handler from {}.{}", basePackage, protocol, e); } }); } public String[] getWebProtocols() { return webProtocols; } public String[] getFileProtocols() { return fileProtocols; } public boolean isValidWebProtocol(final String url) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jun 19 01:34:15 UTC 2024 - 7.4K bytes - Viewed (0)