The suffix string is literally matched against the path info of the servlet
request, as this class assumes it is invoked by MetaServlet. Suffix
strings may include path components. Examples include /info/refs, or
just simple extension matches like .txt.
When dispatching to the rest of the pipeline the HttpServletRequest is
modified so that getPathInfo() does not contain the suffix that
caused this pipeline to be selected.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | match(HttpServletRequest
current HTTP request being considered by req)MetaServlet.Implements abstract org. Determine if this pipeline handles the request's URL. |
| pack-priv void | service(HttpServletRequest
current HTTP request. req, HttpServletResponse current HTTP response. rsp)Overrides org. Execute the filters and the servlet on the request. |
| public String |
| suffix | back to summary |
|---|---|
| private final String suffix | |
| suffixLen | back to summary |
|---|---|
| private final int suffixLen | |
| SuffixPipeline | back to summary |
|---|---|
| pack-priv SuffixPipeline(final String suffix, final Filter[] filters, final HttpServlet servlet) | |
| match | back to summary |
|---|---|
| pack-priv boolean match(HttpServletRequest req) Implements abstract org. Doc from org. Determine if this pipeline handles the request's URL.
This method should match on the request's
| |
| service | back to summary |
|---|---|
| pack-priv void service(HttpServletRequest req, HttpServletResponse rsp) throws ServletException, IOException Overrides org. Doc from org. Execute the filters and the servlet on the request.
Invoked by
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv UrlPipeline | create()
Implements abstract org. Create UrlPipeline |
| suffix | back to summary |
|---|---|
| private final String suffix | |
| Binder | back to summary |
|---|---|
| pack-priv Binder(String suffix) | |
| create | back to summary |
|---|---|
| pack-priv UrlPipeline create() Implements abstract org. Doc from org. Create UrlPipeline
| |