public Optional<SingularitySandbox> browseTaskSandBox(String taskId, String path) {
    final Function<String, String> requestUrl = (host) -> String.format(SANDBOX_BROWSE_FORMAT, getApiBase(host), taskId);

    return getSingleWithParams(requestUrl, "browse sandbox for task", taskId, Optional.of(ImmutableMap.of("path", path)), SingularitySandbox.class);

  }
public Optional < SingularitySandbox > browseTaskSandBox ( String taskId , String path ) { final Function < String , String > requestUrl = ( host ) -> String . format ( SANDBOX_BROWSE_FORMAT , getApiBase ( host ) , taskId ) ; return getSingleWithParams ( requestUrl , "browse sandbox for task" , taskId , Optional . of ( ImmutableMap . of ( "path" , path ) ) , SingularitySandbox . class ) ; }
Retrieve information about a specific task's sandbox

@param taskId
The task ID to browse
@param path
The path to browse from.
if not specified it will browse from the sandbox root.
@return
A {@link SingularitySandbox} object that captures the information for the path to a specific task's Mesos sandbox