@Role
@Unstable
public interface RequestParameterConverter
Modifier and Type | Method and Description |
---|---|
Optional<javax.servlet.ServletRequest> |
convert(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Check if the given request needs conversion and perform those conversions.
|
Optional<javax.servlet.ServletRequest> convert(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws IOException
request
- the request that might contain parameter needing conversionresponse
- the response used to redirect or do changes in case of conversion errorIOException
- in case of problem to write an answer in the responseCopyright © 2004–2022 XWiki. All rights reserved.