public abstract class AbstractCIFSContext extends Thread implements CIFSContext
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
AbstractCIFSContext() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
SmbCredentials |
getCredentials() |
boolean |
hasDefaultCredentials() |
boolean |
renewCredentials(String locationHint,
Throwable error) |
void |
run() |
CIFSContext |
withAnonymousCredentials() |
CIFSContext |
withCredentials(SmbCredentials creds) |
CIFSContext |
withDefaultCredentials() |
CIFSContext |
withGuestCrendentials() |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBufferCache, getConfig, getDfs, getNameServiceClient, getSIDResolver, getTransportPool, getUrlHandler
public CIFSContext withCredentials(SmbCredentials creds)
withCredentials
in interface CIFSContext
creds
- public CIFSContext withAnonymousCredentials()
withAnonymousCredentials
in interface CIFSContext
CIFSContext.withAnonymousCredentials()
public CIFSContext withDefaultCredentials()
withDefaultCredentials
in interface CIFSContext
CIFSContext.withDefaultCredentials()
public CIFSContext withGuestCrendentials()
withGuestCrendentials
in interface CIFSContext
CIFSContext.withGuestCrendentials()
public SmbCredentials getCredentials()
getCredentials
in interface CIFSContext
CIFSContext.getCredentials()
public boolean hasDefaultCredentials()
hasDefaultCredentials
in interface CIFSContext
CIFSContext.hasDefaultCredentials()
public boolean renewCredentials(String locationHint, Throwable error)
renewCredentials
in interface CIFSContext
CIFSContext.renewCredentials(java.lang.String, java.lang.Throwable)
public void close() throws CIFSException
close
in interface CIFSContext
CIFSException
CIFSContext.close()
public void run()
run
in interface Runnable
run
in class Thread
Thread.run()
Copyright © 2016. All rights reserved.