Package org.restlet.service

Examples of org.restlet.service.LogService


            this.helper = new ComponentHelper(this);
            this.defaultHost = new VirtualHost(getContext()
                    .createChildContext());
            this.internalRouter = new InternalRouter(getContext()
                    .createChildContext());
            this.services.add(new LogService());
            this.services.add(new StatusService());
            this.clients.setContext(getContext());
            this.servers.setContext(getContext());
        }
    }
View Full Code Here


    }

    public void testLogService() throws Exception {
        System.out.println("-- testLogService()");

        LogService ls = c.getLogService();
        assertNotNull("Log service MUST NOT be null", ls);

        assertEquals(LOG_ENABLED, ls.isEnabled());
        assertEquals(LOG_IDENTITY_CHECKED, ls.isIdentityCheck());
        assertEquals(LOG_FORMAT, ls.getResponseLogFormat());
        assertEquals(LOGGER_NAME, ls.getLoggerName());
    }
View Full Code Here

TOP

Related Classes of org.restlet.service.LogService

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.