|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.registry.jdbc.handlers.filters.Filter
public abstract class Filter
Base class of all filter implementations. All handlers have to be registered in the jdbc registry with a filter implementation. Filter implementations determine the conditions to invoke the associating handler.
Field Summary | |
---|---|
static java.lang.String |
DELETE
|
static java.lang.String |
GET
Supported method names |
static java.lang.String |
IMPORT
|
static java.lang.String |
IMPORT_CHILD
|
static java.lang.String |
PUT
|
static java.lang.String |
PUT_CHILD
|
Constructor Summary | |
---|---|
Filter()
|
Method Summary | |
---|---|
abstract boolean |
handleDelete(RequestContext requestContext)
Determines whether the associating handler should handle the delete action. |
abstract boolean |
handleGet(RequestContext requestContext)
Determines whether the associating handler should handle the get action. |
abstract boolean |
handleImportChild(RequestContext requestContext)
Determines whether the associating handler should handle the importChild action. |
abstract boolean |
handleImportResource(RequestContext requestContext)
Determines whether the associating handler should handle the import resource action. |
abstract boolean |
handlePut(RequestContext requestContext)
Determines whether the associating handler should handle the put action. |
abstract boolean |
handlePutChild(RequestContext requestContext)
Determines whether the associating handler should handle the putChild action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String GET
public static final java.lang.String PUT
public static final java.lang.String DELETE
public static final java.lang.String IMPORT
public static final java.lang.String PUT_CHILD
public static final java.lang.String IMPORT_CHILD
Constructor Detail |
---|
public Filter()
Method Detail |
---|
public abstract boolean handleGet(RequestContext requestContext) throws RegistryException
requestContext
- Information about the current requestContext.
RegistryException
- Filter impls should deal with the specific exceptions and throw
a RegistryException if the exception has to be propagated to the surface.public abstract boolean handlePut(RequestContext requestContext) throws RegistryException
requestContext
- Information about the current requestContext.
RegistryException
- Filter impls should deal with the specific exceptions and throw
a RegistryException if the exception has to be propagated to the surface.public abstract boolean handleImportResource(RequestContext requestContext) throws RegistryException
requestContext
- Information about the current requestContext.
RegistryException
- Filter impls should deal with the specific exceptions and throw
a RegistryException if the exception has to be propagated to the surface.public abstract boolean handleDelete(RequestContext requestContext) throws RegistryException
requestContext
- Information about the current requestContext.
RegistryException
- Filter impls should deal with the specific exceptions and throw
a RegistryException if the exception has to be propagated to the surface.public abstract boolean handlePutChild(RequestContext requestContext) throws RegistryException
requestContext
- Information about the current requestContext.
RegistryException
- Filter impls should deal with the specific exceptions and throw
a RegistryException if the exception has to be propagated to the surface.public abstract boolean handleImportChild(RequestContext requestContext) throws RegistryException
requestContext
- Information about the current requestContext.
RegistryException
- Filter impls should deal with the specific exceptions and throw
a RegistryException if the exception has to be propagated to the surface.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |