abk.j2ee.dispatch
Class AHttpStatusDispatcher
java.lang.Object
abk.j2ee.dispatch.AHttpRequestDispatcher
abk.j2ee.dispatch.AHttpStatusDispatcher
- All Implemented Interfaces:
- javax.servlet.RequestDispatcher
public class AHttpStatusDispatcher
- extends AHttpRequestDispatcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iStatusCode
private int iStatusCode
iMessage
private String iMessage
iLocation
private String[] iLocation
AHttpStatusDispatcher
private AHttpStatusDispatcher(int sc,
String msg,
String... location)
dispatch
protected void dispatch(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Specified by:
dispatch
in class AHttpRequestDispatcher
- Throws:
javax.servlet.ServletException
IOException
include
public void include(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws javax.servlet.ServletException,
IOException
- Specified by:
include
in interface javax.servlet.RequestDispatcher
- Overrides:
include
in class AHttpRequestDispatcher
- Throws:
javax.servlet.ServletException
IOException
withMessage
public static final AHttpStatusDispatcher withMessage(int statusCode,
String msg)
withLocation
public static final AHttpStatusDispatcher withLocation(int statusCode,
String... location)
SC_CONTINUE
public static final AHttpStatusDispatcher SC_CONTINUE(String msg)
SC_SWITCHING_PROTOCOLS
public static final AHttpStatusDispatcher SC_SWITCHING_PROTOCOLS(String msg)
SC_OK
public static final AHttpStatusDispatcher SC_OK(String msg)
SC_CREATED
public static final AHttpStatusDispatcher SC_CREATED(String msg)
SC_ACCEPTED
public static final AHttpStatusDispatcher SC_ACCEPTED(String msg)
SC_NON_AUTHORITATIVE_INFORMATION
public static final AHttpStatusDispatcher SC_NON_AUTHORITATIVE_INFORMATION(String msg)
SC_NO_CONTENT
public static final AHttpStatusDispatcher SC_NO_CONTENT(String msg)
SC_RESET_CONTENT
public static final AHttpStatusDispatcher SC_RESET_CONTENT(String msg)
SC_PARTIAL_CONTENT
public static final AHttpStatusDispatcher SC_PARTIAL_CONTENT(String msg)
SC_MULTIPLE_CHOICES
public static final AHttpStatusDispatcher SC_MULTIPLE_CHOICES(String... locations)
SC_MOVED_PERMANENTLY
public static final AHttpStatusDispatcher SC_MOVED_PERMANENTLY(String location)
SC_MOVED_TEMPORARILY
public static final AHttpStatusDispatcher SC_MOVED_TEMPORARILY(String location)
SC_FOUND
public static final AHttpStatusDispatcher SC_FOUND(String location)
SC_SEE_OTHER
public static final AHttpStatusDispatcher SC_SEE_OTHER(String location)
SC_NOT_MODIFIED
public static final AHttpStatusDispatcher SC_NOT_MODIFIED(String msg)
SC_USE_PROXY
public static final AHttpStatusDispatcher SC_USE_PROXY(String location)
SC_NOT_FOUND
public static final AHttpStatusDispatcher SC_NOT_FOUND(String msg)
Copyright © 2024. All rights reserved.