public class ReqestDispatcher extends Object
Constructor and Description |
---|
ReqestDispatcher(javax.servlet.http.HttpServletRequest input,
javax.servlet.http.HttpServletResponse output) |
ReqestDispatcher(javax.servlet.http.HttpServletRequest input,
javax.servlet.http.HttpServletResponse output,
HtmlConfig htmlConfig) |
ReqestDispatcher(CharSequence title,
javax.servlet.http.HttpServletRequest input,
javax.servlet.http.HttpServletResponse output) |
Modifier and Type | Method and Description |
---|---|
HtmlConfig |
getAjaxConfig() |
void |
onDefault(IORunnable defaultProcessor)
Process the request
|
void |
onDefaultToElement(IOElement defaultProcessor)
The process writes to an element
|
ReqestDispatcher |
onParam(HttpParameter key,
IOConsumer<JsonBuilder> processor)
Registre new processor.
|
public ReqestDispatcher(@Nonnull javax.servlet.http.HttpServletRequest input, @Nonnull javax.servlet.http.HttpServletResponse output)
public ReqestDispatcher(@Nonnull CharSequence title, @Nonnull javax.servlet.http.HttpServletRequest input, @Nonnull javax.servlet.http.HttpServletResponse output)
public ReqestDispatcher(@Nonnull javax.servlet.http.HttpServletRequest input, @Nonnull javax.servlet.http.HttpServletResponse output, @Nonnull HtmlConfig htmlConfig)
@Nonnull public HtmlConfig getAjaxConfig()
public ReqestDispatcher onParam(@Nonnull HttpParameter key, @Nonnull IOConsumer<JsonBuilder> processor) throws IOException, javax.servlet.ServletException
key
- An key type of HttpParameterprocessor
- processorIOException
javax.servlet.ServletException
public void onDefaultToElement(@Nonnull IOElement defaultProcessor) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
public void onDefault(@Nonnull IORunnable defaultProcessor) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
Copyright 2019-2022, Pavel Ponec