@Entity
public class RestRequestHandler
extends com.whitestein.lsps.common.VersionedAbstractEntity
Modifier and Type | Field and Description |
---|---|
static String |
FIND_BY_MODEL_INSTANCE_AND_TASK
Query name.
|
static String |
FIND_WAITING
Query name.
|
static String |
FIND_WAITING_BY_METHOD
Query name.
|
Constructor and Description |
---|
RestRequestHandler() |
Modifier and Type | Method and Description |
---|---|
Date |
getCreated() |
String |
getMethod() |
Long |
getModelInstanceId() |
String |
getPathTemplate()
Gets the path template which determines what paths can be handled by this
handler.
|
Date |
getRequestReceived() |
String |
getResponseContentType() |
Long |
getTaskId() |
boolean |
isWaiting()
Indicates if a request is waiting for a request.
|
void |
setCreated(Date created) |
void |
setMethod(String method) |
void |
setModelInstanceId(Long modelInstanceId) |
void |
setPathTemplate(String pathTemplate)
Sets the path template for this handler.
|
void |
setRequestReceived(Date requestReceived) |
void |
setResponseContentType(String responseContentType) |
void |
setTaskId(Long taskId) |
void |
setWaiting(boolean waiting)
Sets the waiting flat to the request handler.
|
String |
toString() |
public static final String FIND_WAITING
public static final String FIND_WAITING_BY_METHOD
public static final String FIND_BY_MODEL_INSTANCE_AND_TASK
public Long getModelInstanceId()
public void setModelInstanceId(Long modelInstanceId)
public Long getTaskId()
public void setTaskId(Long taskId)
public String getMethod()
public void setMethod(String method)
public boolean isWaiting()
true
if this handler is in waiting state;
otherwise false
.public void setWaiting(boolean waiting)
waiting
- the value of the waiting flagpublic String getPathTemplate()
public void setPathTemplate(String pathTemplate)
pathTemplate
- the path template to setpublic Date getCreated()
public void setCreated(Date created)
public Date getRequestReceived()
public void setRequestReceived(Date requestReceived)
public String getResponseContentType()
public void setResponseContentType(String responseContentType)
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.