public class ThriftServer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_LISTEN_PORT |
| Constructor and Description |
|---|
ThriftServer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
Start up the Thrift2 server.
|
protected static void |
registerFilters(Configuration conf)
Adds the option to pre-load filters at startup.
|
public static final int DEFAULT_LISTEN_PORT
protected static void registerFilters(Configuration conf)
conf - The current configuration instance.public static void main(java.lang.String[] args)
throws java.lang.Exception
args - java.lang.Exception