Package io.fusionauth.http.server
Interface ExpectValidator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A validator that is used when the server receives a header of
Expect: 100-continue during the initial request.- Author:
- Brian Pontarelli
-
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(HTTPRequest request, HTTPResponse response) Performs the validation of the request headers and puts a valid response code into the response.
-
Method Details
-
validate
Performs the validation of the request headers and puts a valid response code into the response. This should generally be a100or an error of some type.All headers in the response will be ignored and the OutputStream should not be used.
- Parameters:
request- The request.response- The response.
-