Package org.ejbca.ui.web.pub

Source Code of org.ejbca.ui.web.pub.OCSPHealthServlet

/*************************************************************************
*                                                                       *
*  EJBCA: The OpenSource Certificate Authority                          *
*                                                                       *
*  This software is free software; you can redistribute it and/or       *
*  modify it under the terms of the GNU Lesser General Public           *
*  License as published by the Free Software Foundation; either         *
*  version 2.1 of the License, or any later version.                    *
*                                                                       *
*  See terms of license at gnu.org.                                     *
*                                                                       *
*************************************************************************/
package org.ejbca.ui.web.pub;

import org.ejbca.ui.web.pub.cluster.IHealthCheck;
import org.ejbca.ui.web.pub.cluster.IHealthResponse;
import org.ejbca.ui.web.pub.cluster.TextResponse;
import org.ejbca.ui.web.pub.cluster.ValidationAuthorityHealthCheck;

/**
* @author mikek
*
*/
public class OCSPHealthServlet extends AbstractHealthServlet {

    private static final long serialVersionUID = 1L;

    private IHealthCheck validationAuthorityHealthCheck;
    private TextResponse textResponse;
   
    @Override
    public IHealthCheck getHealthCheck() {
        return validationAuthorityHealthCheck;
    }

    @Override
    public IHealthResponse getHealthResponse() {
        return textResponse;
    }

    @Override
    public void initializeServlet() {
        validationAuthorityHealthCheck = new ValidationAuthorityHealthCheck()
        textResponse = new TextResponse();
    }

}
TOP

Related Classes of org.ejbca.ui.web.pub.OCSPHealthServlet

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.