Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for getClass (0.27 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

         */
        @Override
        public boolean allowChain ( CommonServerMessageBlockRequest next ) {
            return getConfig().isAllowCompound(getClass().getSimpleName()) && getConfig().isAllowCompound(next.getClass().getSimpleName());
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#createCancel()
         */
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

         * @throws CIFSException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends Decodable> T getInfo ( Class<T> clazz ) throws CIFSException {
            if ( !clazz.isAssignableFrom(this.info.getClass()) ) {
                throw new CIFSException("Incompatible file information class");
            }
            return (T) getInfo();
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

         * @throws CIFSException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends FileInformation> T getInfo ( Class<T> type ) throws CIFSException {
            if ( !type.isAssignableFrom(this.info.getClass()) ) {
                throw new CIFSException("Incompatible file information class");
            }
            return (T) this.info;
        }
    
    
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

         * @see jcifs.SmbPipeHandle#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T extends SmbPipeHandle> T unwrap ( Class<T> type ) {
            if ( type.isAssignableFrom(this.getClass()) ) {
                return (T) this;
            }
            throw new ClassCastException();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbPipeHandle#getPipe()
         */
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

                setRawPayload(payload);
            }
    
            if ( !verifySignature(buffer, start, len) ) {
                throw new SMBProtocolDecodingException("Signature verification failed for " + getClass().getName());
            }
    
            setAsyncHandled(false);
            received();
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                else if ( cred instanceof byte[] ) {
                    this.blob = (byte[]) cred;
                }
                else {
                    throw new SmbException("Unsupported credential type " + ( cred != null ? cred.getClass() : "NULL" ));
                }
            }
            else if ( server.security == SmbConstants.SECURITY_SHARE ) {
                if ( cred instanceof NtlmPasswordAuthenticator ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Mar 17 10:20:23 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/UniAddress.java

        @Override
        public <T extends Address> T unwrap ( Class<T> type ) {
            if ( this.addr instanceof Address ) {
                return ( (Address) this.addr ).unwrap(type);
            }
            else if ( this.getClass().isAssignableFrom(type) ) {
                return (T) this;
            }
            return null;
        }
    
    
        /**
         * Return the a text representation of this address such as
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SID.java

         *
         * @see jcifs.SID#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T> T unwrap ( Class<T> t ) {
            if ( t.isAssignableFrom(this.getClass()) ) {
                return (T) this;
            }
            throw new ClassCastException();
        }
    
    
        /**
         * 
         * @return encoded SID
         */
        public byte[] toByteArray () {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                setRawPayload(payload);
            }
    
            if ( !verifySignature(buffer, 4, len) ) {
                throw new SMBProtocolDecodingException("Signature verification failed for " + this.getClass().getName());
            }
            return len;
        }
    
    
        protected int writeAndXWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

         * @throws CIFSException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends FileSystemInformation> T getInfo ( Class<T> clazz ) throws CIFSException {
            if ( !clazz.isAssignableFrom(this.info.getClass()) ) {
                throw new CIFSException("Incompatible file information class");
            }
            return (T) getInfo();
        }
    
    
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.2K bytes
    - Viewed (0)
Back to top