public abstract class ThriftOverHttpServiceConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_THRIFT_PATH |
Constructor and Description |
---|
ThriftOverHttpServiceConfig() |
Modifier and Type | Method and Description |
---|---|
abstract HttpService |
getService() |
abstract String |
getThriftPath() |
ThriftProtocol |
getThriftProtocol() |
static ThriftOverHttpServiceConfig |
of(HttpService service) |
static ThriftOverHttpServiceConfig |
of(HttpService service,
String thriftPath) |
public static final String DEFAULT_THRIFT_PATH
public abstract HttpService getService()
public ThriftProtocol getThriftProtocol()
public abstract String getThriftPath()
public static ThriftOverHttpServiceConfig of(HttpService service)
public static ThriftOverHttpServiceConfig of(HttpService service, String thriftPath)