- Sort Score
- Result 10 results
- Languages All
Results 831 - 840 of 1,808 for Try (0.01 sec)
-
src/main/java/org/codelibs/fess/opensearch/user/exbhv/RoleBhv.java
} return indexName; } @Override protected <RESULT extends Role> RESULT createEntity(final Map<String, Object> source, final Class<? extends RESULT> entityType) { try { final RESULT result = entityType.newInstance(); result.setName(DfTypeUtil.toString(source.get("name"))); result.setAttributes(source.entrySet() .stream()Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/FileAuthentication.java
} public FileConfig getFileConfig() { if (fileConfig == null) { final FileConfigService fileConfigService = ComponentUtil.getComponent(FileConfigService.class); try { fileConfig = fileConfigService.getFileConfig(getFileConfigId()).get(); } catch (final Exception e) { logger.warn("File Config {} does not exist.", getFileConfigId(), e); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java
PersistedToolchains toolchains = null; if (userToolchainsFile != null && userToolchainsFile.isFile()) { try (InputStream in = Files.newInputStream(userToolchainsFile.toPath())) { toolchains = new PersistedToolchains(new MavenToolchainsStaxReader().read(in)); } catch (Exception e) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
DEFAULT_USER = Config.getProperty("jcifs.smb1.smb.client.username", null); DEFAULT_PASSWORD = Config.getProperty("jcifs.smb1.smb.client.password", null); String defaultWorkstation = null; try { defaultWorkstation = NbtAddress.getLocalHost().getHostName(); } catch (final UnknownHostException ex) {} DEFAULT_WORKSTATION = defaultWorkstation;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 24.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java
} public void run() throws Exception { Request request = new Request.Builder() .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay. .build(); try (Response response = client.newCall(request).execute()) { System.out.println("Response completed: " + response); } } public static void main(String... args) throws Exception {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Sep 28 18:00:26 UTC 2019 - 1.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java
public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); Headers responseHeaders = response.headers();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java
@Override public void hook(final FwAssistantDirector assistantDirector) { shutdownCommonsHttpClient(); } private void shutdownCommonsHttpClient() { // from Tomcat7ConfigServlet (old class) try { final Class<?> clazz = Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager"); final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/error/badRequest.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><!DOCTYPE html> <% try{ %> ${fe:html(true)} <head profile="http://a9.com/-/spec/opensearch/1.1/"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title><la:message key="labels.system_error_title" /></title> <link href="${fe:url('/css/bootstrap.min.css')}" rel="stylesheet" type="text/css" />
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jan 18 12:09:07 UTC 2025 - 1.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java
.build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { System.out.println(response.request().header("Date")); } } static class CurrentDateInterceptor implements Interceptor {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Oct 31 15:32:50 UTC 2018 - 1.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostString.java
Request request = new Request.Builder() .url("https://api.github.com/markdown/raw") .post(RequestBody.create(postBody, MEDIA_TYPE_MARKDOWN)) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 25 18:02:55 UTC 2019 - 1.7K bytes - Viewed (0)