public abstract class BaseRestHandler extends AbstractComponent implements RestHandler
This handler makes sure that the headers & context of the handled requests are copied over to
the transport requests executed by the associated client. While the context is fully copied over, not all the headers
are copied, but a selected few. It is possible to control what headers are copied over by registering them using
RestController.registerRelevantHeaders(String...)
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected ParseFieldMatcher |
parseFieldMatcher |
deprecationLogger, logger, settings| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
BaseRestHandler(Settings settings,
RestController controller,
Client client) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
handleRequest(RestRequest request,
RestChannel channel) |
protected abstract void |
handleRequest(RestRequest request,
RestChannel channel,
Client client) |
logDeprecatedSetting, logRemovedSetting, nodeNameprotected final ParseFieldMatcher parseFieldMatcher
protected BaseRestHandler(Settings settings, RestController controller, Client client)
public final void handleRequest(RestRequest request, RestChannel channel) throws Exception
handleRequest インタフェース内 RestHandlerExceptionprotected abstract void handleRequest(RestRequest request, RestChannel channel, Client client) throws Exception
ExceptionCopyright © 2009–2016. All rights reserved.