|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ten60.netkernel.layer1.nkf.impl.NKFFragmentorImpl
public abstract class NKFFragmentorImpl
NKF based Fragmentor implementation base class
| Constructor Summary | |
|---|---|
NKFFragmentorImpl(java.lang.String aURIMatch,
java.lang.String aMimeMatch)
|
|
| Method Summary | |
|---|---|
void |
destroy()
This method is called to notify the component that it will not be used again. |
protected abstract void |
fragment(INKFConvenienceHelper context)
Implement this method to provide the resultant representation on the response |
IURRepresentation |
fragment(URRequest aRequest)
Adapts the kernel API into the NKF API and calls the fragment(INKFConvenienceHelper context) method. |
ModuleDefinition |
getModule()
|
protected Scheduler |
getScheduler()
|
void |
initialise(Container aContainer,
ModuleDefinition aModule)
This method is called to put the component into action and ready for use. |
boolean |
matches(URRequest aRequest)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NKFFragmentorImpl(java.lang.String aURIMatch,
java.lang.String aMimeMatch)
| Method Detail |
|---|
public void initialise(Container aContainer,
ModuleDefinition aModule)
IURComponent
initialise in interface IURComponentpublic void destroy()
IURComponent
destroy in interface IURComponentpublic ModuleDefinition getModule()
getModule in interface IFragmentorprotected Scheduler getScheduler()
public boolean matches(URRequest aRequest)
matches in interface IFragmentor
public final IURRepresentation fragment(URRequest aRequest)
throws NetKernelException
fragment in interface IFragmentoraFrom - aRequest -
NetKernelException
protected abstract void fragment(INKFConvenienceHelper context)
throws java.lang.Exception
context - the full NKF context for the request
java.lang.Exception - you can throw any exception you like and it will be mapped
into a NetKernelException
|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||