Package org.restheart.services
Class PingService
java.lang.Object
org.restheart.services.PingService
- All Implemented Interfaces:
CORSHeaders,ByteArrayService,ConfigurablePlugin,ExchangeTypeResolver<ByteArrayRequest,,ByteArrayResponse> HandlingPlugin<ByteArrayRequest,,ByteArrayResponse> Plugin,Service<ByteArrayRequest,ByteArrayResponse>
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Field Summary
Fields inherited from interface org.restheart.exchange.CORSHeaders
ACCESS_CONTROL_ALLOW_CREDENTIAL, ACCESS_CONTROL_ALLOW_HEADERS, ACCESS_CONTROL_ALLOW_METHODS, ACCESS_CONTROL_ALLOW_ORIGIN, ACCESS_CONTROL_EXPOSE_HEADERS, DEFAULT_ACCESS_CONTROL_ALLOW_CREDENTIALS, DEFAULT_ACCESS_CONTROL_ALLOW_HEADERS, DEFAULT_ACCESS_CONTROL_ALLOW_METHODS, DEFAULT_ACCESS_CONTROL_ALLOW_ORIGIN, DEFAULT_ACCESS_CONTROL_EXPOSE_HEADERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ByteArrayRequest request, ByteArrayResponse response) voidsetup()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.restheart.plugins.ByteArrayService
request, requestInitializer, response, responseInitializerMethods inherited from interface org.restheart.plugins.ConfigurablePlugin
arg, argOrDefaultMethods inherited from interface org.restheart.exchange.CORSHeaders
accessControlAllowCredentials, accessControlAllowHeaders, accessControlAllowMethods, accessControlAllowOrigin, accessControlExposeHeadersMethods inherited from interface org.restheart.plugins.ExchangeTypeResolver
requestType, responseTypeMethods inherited from interface org.restheart.plugins.Service
handle, handleOptions, handleOptions
-
Constructor Details
-
PingService
public PingService()
-
-
Method Details
-
setup
public void setup() -
handle
- Specified by:
handlein interfaceService<ByteArrayRequest,ByteArrayResponse> - Throws:
Exception
-