blob: aaa6913556c5da95a0f800e02ab918a897a43dab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package moe.yuuta.dn42peering.asn;
import io.vertx.core.AsyncResult;
import io.vertx.core.Handler;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.web.api.service.ServiceRequest;
import io.vertx.ext.web.api.service.ServiceResponse;
import io.vertx.ext.web.api.service.WebApiServiceGen;
import javax.annotation.Nonnull;
@WebApiServiceGen
public interface IASNHttpService {
String ADDRESS = IASNHttpService.class.getName();
void index(@Nonnull ServiceRequest context,
@Nonnull Handler<AsyncResult<ServiceResponse>> handler);
void register(@Nonnull JsonObject body,
@Nonnull ServiceRequest context,
@Nonnull Handler<AsyncResult<ServiceResponse>> handler);
}
|