Package com.jsql.util
Class ParameterUtil
java.lang.Object
com.jsql.util.ParameterUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Check integrity of parameters defined by user.void
void
controlInput
(String urlQuery, String rawRequest, String rawHeader, AbstractMethodInjection methodInjection, String typeRequest, boolean isScanning) Send each parameters from the GUI to the model in order to start the preparation of injection, the injection process is started in a new thread via model function inputValidation().void
initializeHeader
(String rawHeader) void
initializeQueryString
(String urlQuery) void
initializeRequest
(String rawRequest) initializeStar
(AbstractMap.SimpleEntry<String, String> parameterToInject) boolean
boolean
void
setListHeader
(List<AbstractMap.SimpleEntry<String, String>> listHeader) void
setListQueryString
(List<AbstractMap.SimpleEntry<String, String>> listQueryString) void
setListRequest
(List<AbstractMap.SimpleEntry<String, String>> listRequest)
-
Constructor Details
-
ParameterUtil
-
-
Method Details
-
controlInput
public void controlInput(String urlQuery, String rawRequest, String rawHeader, AbstractMethodInjection methodInjection, String typeRequest, boolean isScanning) Send each parameters from the GUI to the model in order to start the preparation of injection, the injection process is started in a new thread via model function inputValidation(). -
checkParametersFormat
Check integrity of parameters defined by user.- Throws:
InjectionFailureException
- when params integrity is failure
-
checkStarMatchMethod
- Throws:
InjectionFailureException
-
checkMethodNotEmpty
- Throws:
InjectionFailureException
-
initializeStar
-
initializeQueryString
-
initializeRequest
-
initializeHeader
-
getQueryStringFromEntries
-
getRequestFromEntries
-
getHeaderFromEntries
-
isRequestSoap
public boolean isRequestSoap() -
getRawRequest
-
getRawHeader
-
getListRequest
-
setListRequest
-
getListHeader
-
setListHeader
-
getListQueryString
-
setListQueryString
-
isMultipartRequest
public boolean isMultipartRequest()
-