Class BaseService<OptionsT> (2.40.0)

public abstract class BaseService<OptionsT> implements Service<OptionsT>

Base class for service objects.

Inheritance

java.lang.Object > BaseService<OptionsT>

Implements

com.google.cloud.Service<OptionsT>

Type Parameter

Name Description
OptionsT

Static Fields

EXCEPTION_HANDLER

public static final ExceptionHandler EXCEPTION_HANDLER
Field Value
Type Description
ExceptionHandler

EXCEPTION_HANDLER_INTERCEPTOR

public static final ExceptionHandler.Interceptor EXCEPTION_HANDLER_INTERCEPTOR
Field Value
Type Description
ExceptionHandler.Interceptor

Constructors

BaseService(OptionsT options)

protected BaseService(OptionsT options)
Parameter
Name Description
options OptionsT

Methods

getOptions()

public OptionsT getOptions()
Returns
Type Description
OptionsT