jcifs.http

Class NetworkExplorer

public class NetworkExplorer extends HttpServlet

This servlet may be used to "browse" the entire hierarchy of resources on an SMB network like one might with Network Neighborhood or Windows Explorer. The users credentials with be negotiated using NTLM SSP if the client is Microsoft Internet Explorer.
Method Summary
protected intcompareDates(SmbFile f1, String f1name, SmbFile f2)
protected intcompareNames(SmbFile f1, String f1name, SmbFile f2)
protected intcompareSizes(SmbFile f1, String f1name, SmbFile f2)
protected intcompareTypes(SmbFile f1, String f1name, SmbFile f2)
protected voiddoDirectory(HttpServletRequest req, HttpServletResponse resp, SmbFile dir)
protected voiddoFile(HttpServletRequest req, HttpServletResponse resp, SmbFile file)
voiddoGet(HttpServletRequest req, HttpServletResponse resp)
voidinit()

Method Detail

compareDates

protected int compareDates(SmbFile f1, String f1name, SmbFile f2)

compareNames

protected int compareNames(SmbFile f1, String f1name, SmbFile f2)

compareSizes

protected int compareSizes(SmbFile f1, String f1name, SmbFile f2)

compareTypes

protected int compareTypes(SmbFile f1, String f1name, SmbFile f2)

doDirectory

protected void doDirectory(HttpServletRequest req, HttpServletResponse resp, SmbFile dir)

doFile

protected void doFile(HttpServletRequest req, HttpServletResponse resp, SmbFile file)

doGet

public void doGet(HttpServletRequest req, HttpServletResponse resp)

init

public void init()