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 |
---|---|
boolean |
close() |
Credentials |
getCredentials() |
boolean |
hasDefaultCredentials() |
boolean |
renewCredentials(String locationHint,
Throwable error) |
void |
run() |
CIFSContext |
withAnonymousCredentials() |
CIFSContext |
withCredentials(Credentials 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
get, getBufferCache, getConfig, getDfs, getNameServiceClient, getPipe, getSIDResolver, getTransportPool, getUrlHandler
public CIFSContext withCredentials(Credentials 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 Credentials 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 boolean close() throws CIFSException
close
in interface CIFSContext
CIFSException
CIFSContext.close()
public void run()
run
in interface Runnable
run
in class Thread
Thread.run()
Copyright © 2020. All rights reserved.