Home | History | Annotate | Download | only in jsse

Lines Matching refs:context

29         ClientSessionContext context = new ClientSessionContext(null, null);
34 context.putSession(a);
35 context.putSession(b);
37 assertSame(a, context.getSession("a".getBytes()));
38 assertSame(b, context.getSession("b".getBytes()));
40 assertSame(a, context.getSession("a", 443));
41 assertSame(b, context.getSession("b", 443));
43 assertEquals(2, context.sessions.size());
46 Enumeration ids = context.getIds();
48 sessions.add(context.getSession((byte[]) ids.nextElement()));
59 ClientSessionContext context = new ClientSessionContext(null, null);
66 context.putSession(a);
67 context.putSession(b);
68 context.putSession(c);
69 context.putSession(d);
71 context.setSessionCacheSize(2);
74 Enumeration ids = context.getIds();
76 sessions.add(context.getSession((byte[]) ids.nextElement()));