001package org.nuxeo.ecm.platform.sessioninspector;
002
003/*
004 * (C) Copyright 2014 Nuxeo SA (http://nuxeo.com/) and contributors.
005 *
006 * All rights reserved. This program and the accompanying materials
007 * are made available under the terms of the GNU Lesser General Public License
008 * (LGPL) version 2.1 which accompanies this distribution, and is available at
009 * http://www.gnu.org/licenses/lgpl-2.1.html
010 *
011 * This library is distributed in the hope that it will be useful,
012 * but WITHOUT ANY WARRANTY; without even the implied warranty of
013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014 * Lesser General Public License for more details.
015 *
016 * Contributors:
017 *     <a href="mailto:grenard@nuxeo.com">Guillaume</a>
018 */
019
020import javax.ws.rs.Path;
021
022import org.nuxeo.ecm.webengine.model.Resource;
023import org.nuxeo.ecm.webengine.model.WebObject;
024import org.nuxeo.ecm.webengine.model.impl.ModuleRoot;
025
026/**
027 * @since 5.9.2
028 */
029@Path("/sessionInspector")
030@WebObject(type = "sessionInspector")
031public class SessionInspectorRoot extends ModuleRoot {
032
033    @Path(value = "jsfStateManager")
034    public Resource download() {
035        return ctx.newObject("jsfStateManagerHandler");
036    }
037
038}