public class ControlInputReader extends Object
| Constructor and Description |
|---|
ControlInputReader(HttpBridletRequest req)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HttpReqParam |
getParameter(String parameter)
Reads the given parameter from the request.
|
UploadedFile |
getUploadedFile(String parameter)
Gets the given uploaded file.
|
HttpReqParam |
popParameter(String parameter)
Reads and remove the given parameter from the request.
|
UploadedFile |
popUploadedFile(String parameter)
Reads and remove an uploaded file parameter.
|
public ControlInputReader(HttpBridletRequest req)
req - The HTTP request.public UploadedFile getUploadedFile(String parameter)
parameter - The name of the uploaded file.public UploadedFile popUploadedFile(String parameter)
parameter - The name of the uploaded file.public HttpReqParam getParameter(String parameter)
parameter - The name of the parameter.public HttpReqParam popParameter(String parameter)
parameter - The name of the parameter.Copyright © 2015–2017 Bridje Framework. All rights reserved.