public interface HttpHandler
Server
implementation. Server implementors are not
required to implement this contract, instead they should use or inject the provided
implementation.Modifier and Type | Method and Description |
---|---|
void |
handle(NativeRequest request,
NativeResponse response)
Handle an incoming HTTP request.
|
void handle(NativeRequest request, NativeResponse response) throws Exception
request
- HTTP request.response
- HTTP response.Exception
- If execution resulted in exception.Copyright © 2015. All rights reserved.