Package org.apache.isis.viewer.json.viewer

Examples of org.apache.isis.viewer.json.viewer.ResourceContext


    protected void init(final RepresentationType representationType) {
        if (!IsisContext.inSession() || getAuthenticationSession() == null) {
            throw JsonApplicationException.create(HttpStatusCode.UNAUTHORIZED);
        }

        this.resourceContext = new ResourceContext(representationType, httpHeaders, uriInfo, request, httpServletRequest, httpServletResponse, securityContext, getOidStringifier(), getLocalization(), getAuthenticationSession(), getPersistenceSession(), getAdapterManager(), getSpecificationLoader());
    }
View Full Code Here


    private ResourceContext resourceContext;


    protected void init() {
        this.resourceContext =
            new ResourceContext(httpHeaders, uriInfo, request, httpServletRequest, httpServletResponse, securityContext);
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.json.viewer.ResourceContext

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.