All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.litongjava.tio.http.server.handler.RouteEntry Maven / Gradle / Ivy

There is a newer version: 3.7.3.v20241201-RELEASE
Show newest version
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