public interface ServletConfiguration
Service that allows contribution of initial parameters and HttpContext for the Jersey servlet. Only the first tracked service implementing this interface will be used.
| Modifier and Type | Method and Description |
|---|---|
HttpContext |
getHttpContext(HttpService httpService,
String rootPath)
Returns an HttpContext or
null for the given httpService and rootPath. |
Dictionary<String,String> |
getInitParams(HttpService httpService,
String rootPath)
Returns initial parameters or
null for the given httpService and rootPath. |
HttpContext getHttpContext(HttpService httpService,
String rootPath)
Returns an HttpContext or null for the given httpService and rootPath.
httpService - the HttpService to configure the servlet for.rootPath - the configured root path of the servlet to register.HttpContext to use for the servlet registration.Dictionary<String,String> getInitParams(HttpService httpService, String rootPath)
Returns initial parameters or null for the given httpService and rootPath.
httpService - the HttpService to configure the servlet for.rootPath - the configured root path of the servlet to register.Copyright © 2016. All rights reserved.