Package dk.brics.jwig

Examples of dk.brics.jwig.BadRequestException


  public synchronized void sessionRefreshed(dk.brics.jwig.Session s) {
        if (s instanceof DBSession) {
            DBContext dbContext = sessionContextMap.get(s);
            if (dbContext == null) {
                log.warn("dbContext is null for session " + s.getID() + " with timeout " + new Date(s.getTimeout()), new Exception());
                throw new BadRequestException("Session timeout");
            }
            threadContextMap.remove(dbContext.getActiveThread());
            Thread activeThread = Thread.currentThread();
            dbContext.setActiveThread(activeThread);
            threadContextMap.put(activeThread, dbContext);
View Full Code Here

TOP

Related Classes of dk.brics.jwig.BadRequestException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.