public class CIFSContextWrapper extends Object implements CIFSContext
| Constructor and Description |
|---|
CIFSContextWrapper(CIFSContext delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
close() |
SmbResource |
get(String url)
Get a resource
|
BufferCache |
getBufferCache() |
Configuration |
getConfig() |
Credentials |
getCredentials() |
DfsResolver |
getDfs() |
NameServiceClient |
getNameServiceClient() |
SmbPipeResource |
getPipe(String url,
int pipeType)
Get a pipe resource
|
SidResolver |
getSIDResolver() |
SmbTransportPool |
getTransportPool() |
URLStreamHandler |
getUrlHandler() |
boolean |
hasDefaultCredentials() |
boolean |
renewCredentials(String locationHint,
Throwable error) |
CIFSContext |
withAnonymousCredentials() |
CIFSContext |
withCredentials(Credentials creds) |
CIFSContext |
withDefaultCredentials() |
CIFSContext |
withGuestCrendentials() |
public CIFSContextWrapper(CIFSContext delegate)
delegate - context to delegate non-override methods topublic SmbResource get(String url) throws CIFSException
get in interface CIFSContextCIFSExceptionCIFSContext.get(java.lang.String)public SmbPipeResource getPipe(String url, int pipeType) throws CIFSException
getPipe in interface CIFSContextpipeType - the type of the pipeCIFSExceptionCIFSContext.getPipe(java.lang.String, int)public Configuration getConfig()
getConfig in interface CIFSContextpublic DfsResolver getDfs()
getDfs in interface CIFSContextpublic Credentials getCredentials()
getCredentials in interface CIFSContextpublic URLStreamHandler getUrlHandler()
getUrlHandler in interface CIFSContextpublic SidResolver getSIDResolver()
getSIDResolver in interface CIFSContextpublic boolean hasDefaultCredentials()
hasDefaultCredentials in interface CIFSContextpublic CIFSContext withCredentials(Credentials creds)
withCredentials in interface CIFSContextpublic CIFSContext withDefaultCredentials()
withDefaultCredentials in interface CIFSContextpublic CIFSContext withAnonymousCredentials()
withAnonymousCredentials in interface CIFSContextpublic CIFSContext withGuestCrendentials()
withGuestCrendentials in interface CIFSContextpublic boolean renewCredentials(String locationHint, Throwable error)
renewCredentials in interface CIFSContextpublic NameServiceClient getNameServiceClient()
getNameServiceClient in interface CIFSContextpublic BufferCache getBufferCache()
getBufferCache in interface CIFSContextpublic SmbTransportPool getTransportPool()
getTransportPool in interface CIFSContextpublic boolean close()
throws CIFSException
close in interface CIFSContextCIFSExceptionCopyright © 2018. All rights reserved.