パッケージ jcifs.context
クラス AbstractCIFSContext
- java.lang.Object
-
- java.lang.Thread
-
- jcifs.context.AbstractCIFSContext
-
- すべての実装されたインタフェース:
Runnable,CIFSContext
- 直系の既知のサブクラス:
BaseContext
public abstract class AbstractCIFSContext extends Thread implements CIFSContext
- 作成者:
- mbechler
-
-
ネストされたクラスの概要
-
クラスから継承されたネストされたクラス/インタフェース java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
フィールドの概要
-
クラスから継承されたフィールド java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 AbstractCIFSContext()
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド concreteメソッド 修飾子とタイプ メソッド 説明 booleanclose()CredentialsgetCredentials()protected abstract CredentialsgetDefaultCredentials()booleanhasDefaultCredentials()booleanrenewCredentials(String locationHint, Throwable error)voidrun()CIFSContextwithAnonymousCredentials()CIFSContextwithCredentials(Credentials creds)CIFSContextwithDefaultCredentials()CIFSContextwithGuestCrendentials()-
クラスから継承されたメソッド java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
クラスから継承されたメソッド java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
インタフェースから継承されたメソッド jcifs.CIFSContext
get, getBufferCache, getConfig, getDfs, getNameServiceClient, getPipe, getSIDResolver, getTransportPool, getUrlHandler
-
-
-
-
メソッドの詳細
-
withCredentials
public CIFSContext withCredentials(Credentials creds)
- 定義:
withCredentialsインタフェース内CIFSContext- パラメータ:
creds-- 戻り値:
- a wrapped context with the given credentials
-
withAnonymousCredentials
public CIFSContext withAnonymousCredentials()
- 定義:
withAnonymousCredentialsインタフェース内CIFSContext- 戻り値:
- a child context using anonymous credentials
- 関連項目:
CIFSContext.withAnonymousCredentials()
-
withDefaultCredentials
public CIFSContext withDefaultCredentials()
- 定義:
withDefaultCredentialsインタフェース内CIFSContext- 戻り値:
- a child context using the configured default credentials
- 関連項目:
CIFSContext.withDefaultCredentials()
-
withGuestCrendentials
public CIFSContext withGuestCrendentials()
- 定義:
withGuestCrendentialsインタフェース内CIFSContext- 戻り値:
- a child context using guest credentials
- 関連項目:
CIFSContext.withGuestCrendentials()
-
getCredentials
public Credentials getCredentials()
- 定義:
getCredentialsインタフェース内CIFSContext- 戻り値:
- the used credentials
- 関連項目:
CIFSContext.getCredentials()
-
hasDefaultCredentials
public boolean hasDefaultCredentials()
- 定義:
hasDefaultCredentialsインタフェース内CIFSContext- 戻り値:
- whether default credentials are available
- 関連項目:
CIFSContext.hasDefaultCredentials()
-
getDefaultCredentials
protected abstract Credentials getDefaultCredentials()
- 戻り値:
-
renewCredentials
public boolean renewCredentials(String locationHint, Throwable error)
- 定義:
renewCredentialsインタフェース内CIFSContext- 戻り値:
- whether new credentials are obtained
- 関連項目:
CIFSContext.renewCredentials(java.lang.String, java.lang.Throwable)
-
close
public boolean close() throws CIFSException- 定義:
closeインタフェース内CIFSContext- 戻り値:
- whether any connection was still in use
- 例外:
CIFSException- 関連項目:
CIFSContext.close()
-
run
public void run()
- 定義:
runインタフェース内Runnable- オーバーライド:
runクラス内Thread- 関連項目:
Thread.run()
-
-