Package org.exist.http.servlets

Examples of org.exist.http.servlets.SessionWrapper.invalidate()


    if(var.getValue().getItemType() != Type.JAVA_OBJECT)
      {throw new XPathException(this, SessionModule.SESSION_VAR + " is not bound to a Java object.");}
    final JavaObjectValue value = (JavaObjectValue) var.getValue().itemAt(0);
    if(value.getObject() instanceof SessionWrapper) {
      final SessionWrapper session = (SessionWrapper)value.getObject();
      session.invalidate();
      return Sequence.EMPTY_SEQUENCE;
    } else
      {throw new XPathException(this, SessionModule.SESSION_VAR + " is not bound to a session object");}
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.