Interface JettyHttpServerHandlerFactory
-
- All Implemented Interfaces:
public interface JettyHttpServerHandlerFactoryCreates JettyHttpServerHandler instances.
-
-
Method Summary
Modifier and Type Method Description abstract JettyHttpServerHandlercreate(String mediaType, HttpHandler handler, @Nullable() CommunicationLog communicationLog, @Nullable() CommunicationLogContext communicationLogContext)Instantiates JettyHttpServerHandler with the given objects and injected objects. abstract JettyHttpServerHandlercreate(String mediaType, HttpHandler requestHandler, @Nullable() CommunicationLog communicationLog, @Nullable() CommunicationLogContext communicationLogContext, @Nullable() UnaryOperator<Void> postResponseHandler)Instantiates JettyHttpServerHandler with the given objects and injected objects. -
-
Method Detail
-
create
@Deprecated(forRemoval = true) abstract JettyHttpServerHandler create(String mediaType, HttpHandler handler, @Nullable() CommunicationLog communicationLog, @Nullable() CommunicationLogContext communicationLogContext)
Instantiates JettyHttpServerHandler with the given objects and injected objects.
- Parameters:
mediaType- media type of transmitted contenthandler- to handle incoming requestscommunicationLog- a communication log, if null no logging happenscommunicationLogContext- additional information made available in the communication log- Returns:
a new JettyHttpServerHandler
-
create
abstract JettyHttpServerHandler create(String mediaType, HttpHandler requestHandler, @Nullable() CommunicationLog communicationLog, @Nullable() CommunicationLogContext communicationLogContext, @Nullable() UnaryOperator<Void> postResponseHandler)
Instantiates JettyHttpServerHandler with the given objects and injected objects.
- Parameters:
mediaType- media type of transmitted contentrequestHandler- to handle incoming requestscommunicationLog- a communication log, if null no logging happenscommunicationLogContext- additional information made available in the communication logpostResponseHandler- optional callback that is invoked after the transmission of the response concluded- Returns:
a new JettyHttpServerHandler
-
-
-
-