esoe
2 years ago
4 changed files with 29 additions and 1 deletions
@ -0,0 +1,27 @@
@@ -0,0 +1,27 @@
|
||||
package ru.molokoin; |
||||
|
||||
/** |
||||
* Запрос пользователя |
||||
* get/post текстовый запрос, структурированный в объект для обработки |
||||
*/ |
||||
public class RequestMessage { |
||||
private String text; |
||||
|
||||
RequestMessage(String msg){ |
||||
setText(msg); |
||||
} |
||||
/** |
||||
* @param text the text to set |
||||
*/ |
||||
public void setText(String text) { |
||||
this.text = text; |
||||
} |
||||
/** |
||||
* @return the text |
||||
*/ |
||||
public String getText() { |
||||
return text; |
||||
} |
||||
|
||||
|
||||
} |
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue