public abstract class PathHandler<M extends IModel> extends Object implements IEntityHandler
| Constructor and Description |
|---|
PathHandler(int variableCnt,
String[] parts) |
| Modifier and Type | Method and Description |
|---|---|
org.symphonyoss.s2.fugue.di.ComponentDescriptor |
getComponentDescriptor() |
abstract M |
getModel() |
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 abstract M getModel()
public org.symphonyoss.s2.fugue.di.ComponentDescriptor getComponentDescriptor()
getComponentDescriptor in interface org.symphonyoss.s2.fugue.di.IComponentpublic 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.