public abstract class PathHandler extends Object implements IEntityHandler
| Constructor and Description |
|---|
PathHandler(int variableCnt,
String[] parts) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPartsLength() |
boolean |
handle(RequestContext context) |
protected abstract void |
handle(RequestContext context,
List<String> variables) |
void |
unsupportedMethod(RequestContext context)
Called by generated servlets for unsupported methods.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPathpublic PathHandler(int variableCnt,
String[] parts)
public boolean handle(RequestContext context) throws IOException
handle in interface IEntityHandlerIOExceptionpublic int getPartsLength()
getPartsLength in interface IEntityHandlerprotected abstract void handle(RequestContext context, List<String> variables) throws IOException, CanonException
IOExceptionCanonExceptionpublic void unsupportedMethod(RequestContext context) throws IOException
context - The request context which contains servlet request, response etc.IOException - If the response cannot be sent.Copyright © 2018 Symphony Software Foundation. All rights reserved.