cn.dreampie.route.core
类 Resource

java.lang.Object
  继承者 cn.dreampie.route.core.Resource

public abstract class Resource
extends Object

Resource


构造方法摘要
Resource()
           
 
方法摘要
<T> T
getParam(String name)
          Get param of any type.
 Params getParams()
           
 String getPath()
           
 HttpRequest getRequest()
           
 HttpResponse getResponse()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Resource

public Resource()
方法详细信息

getPath

public final String getPath()

getParams

public final Params getParams()

getParam

public final <T> T getParam(String name)
Get param of any type.


getRequest

public final HttpRequest getRequest()

getResponse

public final HttpResponse getResponse()


Copyright © 2015. All rights reserved.