Interface Handler

All Known Implementing Classes:
HttpRestartServerHandler, HttpStatusHandler
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Handler
A single handler that is able to process an incoming remote server request.
Since:
1.3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response)
    Handle the request.
  • Method Details

    • handle

      void handle(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response) throws IOException
      Handle the request.
      Parameters:
      request - the request
      response - the response
      Throws:
      IOException - in case of I/O errors