public class OptionsHandler extends Object implements Route.Handler
Constructor and Description |
---|
OptionsHandler(Set<Route.Definition> routes) |
Modifier and Type | Method and Description |
---|---|
void |
handle(Request req,
Response rsp)
Callback method for a HTTP request.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handle
@Inject public OptionsHandler(Set<Route.Definition> routes)
public void handle(Request req, Response rsp) throws Exception
Route.Handler
handle
in interface Route.Handler
req
- A HTTP request.rsp
- A HTTP response.Exception
Copyright © 2018. All rights reserved.