MCPcopy
hub / github.com/zaproxy/zaproxy / open

Method open

zap/src/main/java/org/parosproxy/paros/model/Session.java:264–283  ·  view source on GitHub ↗
(final File file, final SessionListener callback)

Source from the content-addressed store, hash-verified

262 }
263
264 protected void open(final File file, final SessionListener callback) {
265 Thread t =
266 new Thread(
267 new Runnable() {
268 @Override
269 public void run() {
270 Exception thrownException = null;
271 try {
272 open(file.getAbsolutePath());
273 } catch (Exception e) {
274 thrownException = e;
275 }
276 if (callback != null) {
277 callback.sessionOpened(file, thrownException);
278 }
279 }
280 });
281 t.setPriority(Thread.NORM_PRIORITY - 2);
282 t.start();
283 }
284
285 protected void open(final String sessionFile, final SessionListener callback) {
286 Thread t =

Callers 1

runMethod · 0.95

Calls 15

setSessionIdMethod · 0.95
isCleanUpRequiredMethod · 0.95
isInitialisedMethod · 0.95
getSingletonMethod · 0.95
isLowMemoryOptionSetMethod · 0.95
createTreeMethod · 0.95
getSessionIdMethod · 0.95
discardContextsMethod · 0.95

Tested by

no test coverage detected