org.apache.archiva.rest.services
Class DefaultPingService

java.lang.Object
  extended by org.apache.archiva.rest.services.DefaultPingService
All Implemented Interfaces:
PingService

@Service(value="pingService#rest")
public class DefaultPingService
extends Object
implements PingService

Since:
1.4-M1
Author:
Olivier Lamy

Constructor Summary
DefaultPingService()
           
 
Method Summary
 String ping()
          ping service to monitor Archiva with a nice returned message :-)
 String pingWithAuthz()
          same as #ping but check authz
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPingService

public DefaultPingService()
Method Detail

ping

public String ping()
Description copied from interface: PingService
ping service to monitor Archiva with a nice returned message :-)

Specified by:
ping in interface PingService
Returns:
Yeah Baby It rocks!

pingWithAuthz

public String pingWithAuthz()
Description copied from interface: PingService
same as #ping but check authz

Specified by:
pingWithAuthz in interface PingService
Returns:


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.