Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
public class Includer extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
dispatchInclude(RequestDispatcher dispatcher,
HttpServletRequest request,
HttpServletResponse response)
Performs the actual include, supporting propagation of SkipPageException and sendError.
|
static void |
sendError(HttpServletRequest request,
HttpServletResponse response,
int status) |
static void |
sendError(HttpServletRequest request,
HttpServletResponse response,
int status,
String message)
Sends an error.
|
static void |
setLocation(HttpServletRequest request,
HttpServletResponse response,
String location)
Sets a Location header.
|
static void |
setPageSkipped(ServletRequest request)
Sets the skip page flag.
|
public static void dispatchInclude(RequestDispatcher dispatcher, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SkipPageException
public static void setLocation(HttpServletRequest request, HttpServletResponse response, String location)
public static void sendError(HttpServletRequest request, HttpServletResponse response, int status, String message) throws IOException
IOExceptionpublic static void sendError(HttpServletRequest request, HttpServletResponse response, int status) throws IOException
IOExceptionpublic static void setPageSkipped(ServletRequest request)
Copyright © 2000–2016 AO Industries, Inc.. All rights reserved.