Package com.hierynomus.smbj.paths
Interface PathResolver
-
- All Known Implementing Classes:
DFSPathResolver
,SymlinkPathResolver
public interface PathResolver
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PathResolver.ResolveAction<T>
-
Field Summary
Fields Modifier and Type Field Description static PathResolver
LOCAL
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
resolve(Session session, SMB2Packet responsePacket, SmbPath smbPath, PathResolver.ResolveAction<T> action)
Reactive path resolution based on response packet<T> T
resolve(Session session, SmbPath smbPath, PathResolver.ResolveAction<T> action)
Proactive path resolution based on response packetStatusHandler
statusHandler()
-
-
-
Field Detail
-
LOCAL
static final PathResolver LOCAL
-
-
Method Detail
-
resolve
<T> T resolve(Session session, SMB2Packet responsePacket, SmbPath smbPath, PathResolver.ResolveAction<T> action) throws PathResolveException
Reactive path resolution based on response packet- Parameters:
session
-responsePacket
-smbPath
-- Returns:
- Throws:
PathResolveException
-
resolve
<T> T resolve(Session session, SmbPath smbPath, PathResolver.ResolveAction<T> action) throws PathResolveException
Proactive path resolution based on response packet- Parameters:
session
-smbPath
-- Returns:
- Throws:
PathResolveException
-
statusHandler
StatusHandler statusHandler()
-
-