public class RestHttpServerConfiguration extends Object
| Constructor and Description |
|---|
RestHttpServerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ContentConverters |
getConverters() |
String |
getInterface() |
int |
getPort() |
int |
getRequestProcessingThreads() |
List<RestService> |
getRestServices() |
RestHttpServerConfiguration |
withConverter(ContentConverter converter) |
RestHttpServerConfiguration |
withInterface(String interfaceName) |
RestHttpServerConfiguration |
withPort(int port) |
RestHttpServerConfiguration |
withRequestProcessingThreads(int requestProcessingThreads) |
RestHttpServerConfiguration |
withService(RestServiceBuilder restService) |
RestHttpServerConfiguration |
withTypeConverter(MediaType mediaType,
ContentConverter converter) |
public int getPort()
public RestHttpServerConfiguration withPort(int port)
public String getInterface()
public RestHttpServerConfiguration withInterface(String interfaceName)
public int getRequestProcessingThreads()
public List<RestService> getRestServices()
public ContentConverters getConverters()
public RestHttpServerConfiguration withRequestProcessingThreads(int requestProcessingThreads)
public RestHttpServerConfiguration withService(RestServiceBuilder restService)
public RestHttpServerConfiguration withConverter(ContentConverter converter)
public RestHttpServerConfiguration withTypeConverter(MediaType mediaType, ContentConverter converter)
Copyright © 2014. All rights reserved.