- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for infoType (0.06 seconds)
-
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java
this.fileId = fileId; } /** * Sets the information type for the query * * @param infoType * the infoType to set */ public final void setInfoType(final byte infoType) { this.infoType = infoType; } /** * Sets the file information class for the query * * @param fileInfoClassCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
this.info = i; return bufferIndex - start; } private static Decodable createInformation(final byte infoType, final byte infoClass) throws SMBProtocolDecodingException { return switch (infoType) { case Smb2Constants.SMB2_0_INFO_FILE -> createFileInformation(infoClass); case Smb2Constants.SMB2_0_INFO_FILESYSTEM -> createFilesystemInformation(infoClass);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java
this.fileId = fileId; } /** * Sets the information type for the set info operation * * @param infoType * the infoType to set */ public void setInfoType(final byte infoType) { this.infoType = infoType; } /** * Sets the file information class for the set info operation * * @param fileInfoClassCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
request.setInfoType(testInfoType); // Verify info type was set Field infoTypeField; try { infoTypeField = Smb2QueryInfoRequest.class.getDeclaredField("infoType"); infoTypeField.setAccessible(true); byte actualInfoType = (byte) infoTypeField.get(request); assertEquals(testInfoType, actualInfoType); } catch (Exception e) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
@Test @DisplayName("Test constructor initializes with config and info type/class") void testConstructor() { byte infoType = Smb2Constants.SMB2_0_INFO_FILE; byte infoClass = FileInformation.FILE_INTERNAL_INFO; response = new Smb2QueryInfoResponse(mockConfig, infoType, infoClass); assertNotNull(response); assertNull(response.getInfo()); // Should be null before decoding }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
request.setInfoType(testInfoType); // Verify info type was set Field infoTypeField; try { infoTypeField = Smb2SetInfoRequest.class.getDeclaredField("infoType"); infoTypeField.setAccessible(true); byte actualInfoType = (byte) infoTypeField.get(request); assertEquals(testInfoType, actualInfoType); } catch (Exception e) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0)