- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for unwrap (0.88 sec)
-
src/test/java/jcifs/tests/SessionTest.java
SmbSessionInternal session = treeHandle.getSession().unwrap(SmbSessionInternal.class) ) { assertNotNull(session); try ( SmbTransportInternal transport = session.getTransport().unwrap(SmbTransportInternal.class) ) { assertNotNull(transport); transport.disconnect(true, true);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/OplockTests.java
.unwrap(SmbTransportInternal.class); SmbSession sess = trans.unwrap(SmbTransportInternal.class).getSmbSession(c, getTestServer(), null); SmbTreeInternal tree = sess.unwrap(SmbSessionInternal.class).getSmbTree(getTestShare(), null).unwrap(SmbTreeInternal.class) ) { if ( trans.isSMB2() ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:07:29 GMT 2023 - 29.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
} @Override public NbtAddress[] getNodeStatus ( NetbiosAddress addr ) throws UnknownHostException { NodeStatusResponse response = new NodeStatusResponse(this.transportContext.getConfig(), addr.unwrap(NbtAddress.class)); NodeStatusRequest request = new NodeStatusRequest( this.transportContext.getConfig(), new Name(this.transportContext.getConfig(), NbtAddress.ANY_HOSTS_NAME, 0x00, null));
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Aug 14 14:26:22 GMT 2022 - 38.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java
if (value == null) { return true; } final HibernateConstraintValidatorContext hibernateContext = context.unwrap(HibernateConstraintValidatorContext.class); hibernateContext.disableDefaultConstraintViolation();
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
Assert.assertEquals("b@r", na.getPassword()); } try ( SmbFile f = new SmbFile(new URL("smb://foo:b%40r@127.0.0.1/")) ) { Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo()); NtlmPasswordAuthenticator na = f.getContext().getCredentials().unwrap(NtlmPasswordAuthenticator.class);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java
} } protected void deleteScrollContext(final String scrollId) { if (scrollId != null) { client.prepareClearScroll().addScrollId(scrollId).execute(ActionListener.wrap(() -> {})); } } @Override protected Number doReadNextVal() { final String msg = "This table is NOT related to sequence: " + asEsIndexType();
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 26.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
public SmbTreeImpl acquire () { return acquire(true); } /** * {@inheritDoc} * * @see jcifs.SmbTree#unwrap(java.lang.Class) */ @SuppressWarnings ( "unchecked" ) @Override public <T extends SmbTree> T unwrap ( Class<T> type ) { if ( type.isAssignableFrom(this.getClass()) ) { return (T) this; } throw new ClassCastException();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:06:39 GMT 2023 - 29.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
} public static void writeBytes(final String pathname, final byte[] bytes) { try (FileOutputStream fos = OutputStreamUtil.create(new File(pathname))) { ChannelUtil.write(fos.getChannel(), ByteBuffer.wrap(bytes)); } catch (final IOException e) { throw new IORuntimeException(e); } } public static void deleteInBackground(final File file) { if (file != null) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java
import static org.codelibs.core.stream.StreamUtil.stream; import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs; import static org.opensearch.core.action.ActionListener.wrap; import java.io.File; import java.io.IOException; import java.net.InetAddress; import java.net.UnknownHostException; import java.nio.charset.StandardCharsets; import java.text.SimpleDateFormat;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 84.1K bytes - Viewed (0)