com.litongjava.tio.http.server.handler.RouteEntry Maven / Gradle / Ivy
package com.litongjava.tio.http.server.handler;
import com.litongjava.model.type.TioTypeReference;
// 内部类,用于保存函数和类型引用
public class RouteEntry {
private final IHttpRequestFunction function;
private final TioTypeReference typeReference;
public RouteEntry(IHttpRequestFunction function, TioTypeReference typeReference) {
this.function = function;
this.typeReference = typeReference;
}
public IHttpRequestFunction getFunction() {
return function;
}
public TioTypeReference getTypeReference() {
return typeReference;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy