Modifier and Type | Method and Description |
---|---|
boolean |
handle(MuRequest muRequest,
MuResponse muResponse)
Called when an HTTP request is made (unless a previous handler stopped handler processing)
|
public boolean handle(MuRequest muRequest, MuResponse muResponse) throws Exception
MuHandler
handle
in interface MuHandler
muRequest
- The HTTP request.muResponse
- The HTTP response.false
to continue processing the next handler (for example if writing a filter or inspector); or true
to stop processing (normally done if this handler sent a response).Exception
- Any uncaught exceptions will result in a 500 error code being returned to the client with a simple message.Copyright © 2017–2019. All rights reserved.