|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.craftforge.essential.controller.State
public class State
Represents the current state of a performing call.
| Constructor Summary | |
|---|---|
State()
|
|
| Method Summary | |
|---|---|
Date |
getInvocationEnd()
Gets the invocation end date |
Date |
getInvocationStart()
Gets the invocation start date |
Class<?> |
getResourceClass()
Gets the resource class |
Method |
getResourceMethod()
Gets the resource method. |
Object |
getResult()
Gets the result. |
HttpStatusCode |
getStatus()
Gets the HTTP status code. |
void |
setInvocationEnd(Date invocationEnd)
Sets the invocation end date |
void |
setInvocationStart(Date invocationStart)
Sets the invocation start date |
void |
setResourceClass(Class<?> resourceClass)
Sets the resource class |
void |
setResourceMethod(Method resourceMethod)
Sets the resource method. |
void |
setResult(Object result)
Sets the result. |
void |
setStatus(HttpStatusCode status)
Sets the HTTP status code. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public State()
| Method Detail |
|---|
public Method getResourceMethod()
public void setResourceMethod(Method resourceMethod)
resourceMethod - The resource methodpublic Class<?> getResourceClass()
public void setResourceClass(Class<?> resourceClass)
resourceClass - The resource classpublic Object getResult()
public void setResult(Object result)
result - The resultpublic HttpStatusCode getStatus()
public void setStatus(HttpStatusCode status)
status - The HTTP status codepublic Date getInvocationStart()
public void setInvocationStart(Date invocationStart)
invocationStart - The invocation start datepublic Date getInvocationEnd()
public void setInvocationEnd(Date invocationEnd)
invocationEnd - The invocation end date
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||