public class RFPacket
extends java.lang.Object
Constructor and Description |
---|
RFPacket(java.lang.String RFKey)
The Request object retrieves the values that the client passed to the server during an
RESTful request.
|
Modifier and Type | Method and Description |
---|---|
BabelfyConstraints |
getConstraints() |
it.uniroma1.lcl.jlt.util.Language |
getLanguage()
Get
Language |
BabelfyParameters |
getParameters() |
java.lang.String |
getRFKey()
Get the user key
|
java.lang.String |
getText() |
java.util.List<? extends BabelfyToken> |
getTokenizedText() |
void |
setConstraints(BabelfyConstraints constraints) |
void |
setLanguage(it.uniroma1.lcl.jlt.util.Language language)
Set
Language |
void |
setParameters(BabelfyParameters parameters) |
void |
setText(java.lang.String text) |
void |
setTokenizedText(java.util.List<? extends BabelfyToken> tokenizedText) |
public RFPacket(java.lang.String RFKey)
RFKey
- the RESTful key to be used.public java.util.List<? extends BabelfyToken> getTokenizedText()
public void setTokenizedText(java.util.List<? extends BabelfyToken> tokenizedText)
public BabelfyParameters getParameters()
public void setParameters(BabelfyParameters parameters)
public BabelfyConstraints getConstraints()
public void setConstraints(BabelfyConstraints constraints)
public java.lang.String getRFKey()
public java.lang.String getText()
public void setText(java.lang.String text)
public it.uniroma1.lcl.jlt.util.Language getLanguage()
Language
Language
public void setLanguage(it.uniroma1.lcl.jlt.util.Language language)
Language
language
- The language to be set.