@FunctionalInterface public interface HttpFunction
Modifier and Type | Method and Description |
---|---|
void |
service(HttpRequest request,
HttpResponse response)
Called to service an incoming HTTP request.
|
void service(HttpRequest request, HttpResponse response) throws Exception
Error
) then the HTTP response will have a 500 status code.Exception
Copyright © 2019. All rights reserved.