@Exported
public interface HttpHandler
| Modifier and Type | Method and Description | 
|---|---|
| void | handle(HttpExchange exchange)Handle the given request and generate an appropriate response. | 
void handle(HttpExchange exchange) throws IOException
HttpExchange for a description of the steps
 involved in handling an exchange.exchange - the exchange containing the request from the
      client and used to send the responseNullPointerException - if exchange is nullIOException
 Copyright © 2005, 2025, Oracle and/or its affiliates.  All rights reserved.