public class URLMatcher extends Filter
ADD_ASSOCIATION, ADD_COMMENT, APPLY_TAG, COPY, CREATE_LINK, CREATE_VERSION, DELETE, DUMP, EDIT_COMMENT, EXECUTE_QUERY, GET, GET_ALL_ASSOCIATIONS, GET_ASSOCIATIONS, GET_AVERAGE_RATING, GET_COMMENTS, GET_RATING, GET_REGISTRY_CONTEXT, GET_RESOURCE_PATHS_WITH_TAG, GET_TAGS, GET_VERSIONS, IMPORT, IMPORT_CHILD, invert, INVOKE_ASPECT, MOVE, PUT, PUT_CHILD, RATE_RESOURCE, REMOVE_ASSOCIATION, REMOVE_COMMENT, REMOVE_LINK, REMOVE_TAG, RENAME, RESOURCE_EXISTS, RESTORE, RESTORE_VERSION, SEARCH_CONTENT| Constructor and Description |
|---|
URLMatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Compares this MediaTypeMatcher to the specified object.
|
boolean |
handleAddAssociation(RequestContext requestContext)
Determines whether the associating handler should handle the addAssociation action.
|
boolean |
handleAddComment(RequestContext requestContext)
Determines whether the associating handler should handle the addComment action.
|
boolean |
handleApplyTag(RequestContext requestContext)
Determines whether the associating handler should handle the applyTag action.
|
boolean |
handleCopy(RequestContext requestContext)
Determines whether the associating handler should handle the copy action.
|
boolean |
handleCreateLink(RequestContext requestContext)
Determines whether the associating handler should handle the createLink action.
|
boolean |
handleCreateVersion(RequestContext requestContext)
Determines whether the associating handler should handle the createVersion action.
|
boolean |
handleDelete(RequestContext requestContext)
Determines whether the associating handler should handle the delete action.
|
boolean |
handleDump(RequestContext requestContext)
Determines whether the associating handler should handle the dump action.
|
boolean |
handleEditComment(RequestContext requestContext)
Determines whether the associating handler should handle the editComment action.
|
boolean |
handleExecuteQuery(RequestContext requestContext)
Determines whether the associating handler should handle the executeQuery action.
|
boolean |
handleGet(RequestContext requestContext)
Determines whether the associating handler should handle the get action.
|
boolean |
handleGetAllAssociations(RequestContext requestContext)
Determines whether the associating handler should handle the getAllAssociations action.
|
boolean |
handleGetAssociations(RequestContext requestContext)
Determines whether the associating handler should handle the getAssociations action.
|
boolean |
handleGetAverageRating(RequestContext requestContext)
Determines whether the associating handler should handle the getAverageRating action.
|
boolean |
handleGetComments(RequestContext requestContext)
Determines whether the associating handler should handle the getComments action.
|
boolean |
handleGetRating(RequestContext requestContext)
Determines whether the associating handler should handle the getRating action.
|
boolean |
handleGetRegistryContext(RequestContext requestContext)
Determines whether the associating handler should handle the getRegistryContext action.
|
boolean |
handleGetTags(RequestContext requestContext)
Determines whether the associating handler should handle the getTags action.
|
boolean |
handleGetVersions(RequestContext requestContext)
Determines whether the associating handler should handle the getVersions action.
|
boolean |
handleImportChild(RequestContext requestContext)
Determines whether the associating handler should handle the importChild action.
|
boolean |
handleImportResource(RequestContext requestContext)
Determines whether the associating handler should handle the import resource action.
|
boolean |
handleInvokeAspect(RequestContext requestContext)
Determines whether the associating handler should handle the invokeAspect action.
|
boolean |
handleMove(RequestContext requestContext)
Determines whether the associating handler should handle the move action.
|
boolean |
handlePut(RequestContext requestContext)
Determines whether the associating handler should handle the put action.
|
boolean |
handlePutChild(RequestContext requestContext)
Determines whether the associating handler should handle the putChild action.
|
boolean |
handleRateResource(RequestContext requestContext)
Determines whether the associating handler should handle the rateResource action.
|
boolean |
handleRemoveAssociation(RequestContext requestContext)
Determines whether the associating handler should handle the removeAssociation action.
|
boolean |
handleRemoveComment(RequestContext requestContext)
Determines whether the associating handler should handle the removeComment action.
|
boolean |
handleRemoveLink(RequestContext requestContext)
Determines whether the associating handler should handle the removeLink action.
|
boolean |
handleRemoveTag(RequestContext requestContext)
Determines whether the associating handler should handle the removeTag action.
|
boolean |
handleRename(RequestContext requestContext)
Determines whether the associating handler should handle the rename action.
|
boolean |
handleResourceExists(RequestContext requestContext)
Determines whether the associating handler should handle the resourceExists action.
|
boolean |
handleRestore(RequestContext requestContext)
Determines whether the associating handler should handle the restore action.
|
boolean |
handleRestoreVersion(RequestContext requestContext)
Determines whether the associating handler should handle the restoreVersion action.
|
int |
hashCode()
This overrides the default hash code implementation for filter objects, to make sure that
each filter of the same type will have identical hash codes unless otherwise it has its own
extension.
|
void |
setAddAssociationPattern(String addAssociationPattern)
Method to set addAssociation Pattern
|
void |
setAddCommentPattern(String addCommentPattern)
Method to set addComment Pattern
|
void |
setApplyTagPattern(String applyTagPattern)
Method to set applyTag Pattern
|
void |
setCopyPattern(String copyPattern)
Method to set copy Pattern
|
void |
setCreateLinkPattern(String createLinkPattern)
Method to set createLink Pattern
|
void |
setCreateVersionPattern(String createVersionPattern)
Method to set createVersion Pattern
|
void |
setDeletePattern(String deletePattern)
Method to set delete Pattern
|
void |
setDumpPattern(String dumpPattern)
Method to set dump Pattern
|
void |
setEditCommentPattern(String editCommentPattern)
Method to set editComment Pattern
|
void |
setExecuteQueryPattern(String executeQuery)
Method to set get Pattern
|
void |
setGetAllAssociationsPattern(String getAllAssociationsPattern)
Method to set getAllAssociations Pattern
|
void |
setGetAssociationsPattern(String getAssociationsPattern)
Method to set getAssociations Pattern
|
void |
setGetAverageRatingPattern(String getAverageRatingPattern)
Method to set getAverageRating Pattern
|
void |
setGetCommentsPattern(String getCommentsPattern)
Method to set getComments Pattern
|
void |
setGetPattern(String getPattern)
Method to set get Pattern
|
void |
setGetRatingPattern(String getRatingPattern)
Method to set getRating Pattern
|
void |
setGetRegistryContextPattern(String getRegistryContextPattern)
Method to set getRegistryContext Pattern
|
void |
setGetTagsPattern(String getTagsPattern)
Method to set getTags Pattern
|
void |
setGetVersionsPattern(String getVersionsPattern)
Method to set getVersions Pattern
|
void |
setImportChildPattern(String importChildPattern)
Method to set importChild Pattern
|
void |
setImportPattern(String importPattern)
Method to set import Pattern
|
void |
setInvokeAspectPattern(String invokeAspectPattern)
Method to set invokeAspect Pattern
|
void |
setMovePattern(String movePattern)
Method to set move Pattern
|
void |
setPattern(String pattern)
Method to set the given pattern for all registry operations.
|
void |
setPutChildPattern(String putChildPattern)
Method to set putChild Pattern
|
void |
setPutPattern(String putPattern)
Method to set put Pattern
|
void |
setRateResourcePattern(String rateResourcePattern)
Method to set rateResource Pattern
|
void |
setRemoveAssociationPattern(String removeAssociationPattern)
Method to set removeAssociation Pattern
|
void |
setRemoveCommentPattern(String removeCommentPattern)
Method to set removeComment Pattern
|
void |
setRemoveLinkPattern(String removeLinkPattern)
Method to set removeLink Pattern
|
void |
setRemoveTagPattern(String removeTagPattern)
Method to set removeTag Pattern
|
void |
setRenamePattern(String renamePattern)
Method to set rename Pattern
|
void |
setResourceExistsPattern(String resourceExistsPattern)
Method to set resourceExists Pattern
|
void |
setRestorePattern(String restorePattern)
Method to set restore Pattern
|
void |
setRestoreVersionPattern(String restoreVersionPattern)
Method to set restoreVersion Pattern
|
getInvert, handleGetResourcePathsWithTag, handleSearchContent, setInvertpublic int hashCode()
Filterpublic boolean equals(Object other)
true if and
only if the argument is not null and is a MediaTypeMatcher object that
contains the same values for the fields as this object.public boolean handleGet(RequestContext requestContext) throws RegistryException
FilterhandleGet in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleExecuteQuery(RequestContext requestContext) throws RegistryException
FilterhandleExecuteQuery in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handlePut(RequestContext requestContext) throws RegistryException
FilterhandlePut in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleImportResource(RequestContext requestContext) throws RegistryException
FilterhandleImportResource in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleDelete(RequestContext requestContext) throws RegistryException
FilterhandleDelete in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handlePutChild(RequestContext requestContext) throws RegistryException
FilterhandlePutChild in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleImportChild(RequestContext requestContext) throws RegistryException
FilterhandleImportChild in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleInvokeAspect(RequestContext requestContext) throws RegistryException
FilterhandleInvokeAspect in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleCopy(RequestContext requestContext) throws RegistryException
FilterhandleCopy in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleMove(RequestContext requestContext) throws RegistryException
FilterhandleMove in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleRename(RequestContext requestContext) throws RegistryException
FilterhandleRename in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleCreateLink(RequestContext requestContext) throws RegistryException
FilterhandleCreateLink in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleRemoveLink(RequestContext requestContext) throws RegistryException
FilterhandleRemoveLink in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleResourceExists(RequestContext requestContext) throws RegistryException
FilterhandleResourceExists in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleGetRegistryContext(RequestContext requestContext)
FilterhandleGetRegistryContext in class FilterrequestContext - Information about the current requestContext.public boolean handleAddAssociation(RequestContext requestContext) throws RegistryException
FilterhandleAddAssociation in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleRemoveAssociation(RequestContext requestContext) throws RegistryException
FilterhandleRemoveAssociation in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleGetAllAssociations(RequestContext requestContext) throws RegistryException
FilterhandleGetAllAssociations in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleGetAssociations(RequestContext requestContext) throws RegistryException
FilterhandleGetAssociations in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleApplyTag(RequestContext requestContext) throws RegistryException
FilterhandleApplyTag in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleGetTags(RequestContext requestContext) throws RegistryException
FilterhandleGetTags in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleRemoveTag(RequestContext requestContext) throws RegistryException
FilterhandleRemoveTag in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleAddComment(RequestContext requestContext) throws RegistryException
FilterhandleAddComment in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleEditComment(RequestContext requestContext) throws RegistryException
FilterhandleEditComment in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleRemoveComment(RequestContext requestContext) throws RegistryException
FilterhandleRemoveComment in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleGetComments(RequestContext requestContext) throws RegistryException
FilterhandleGetComments in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleRateResource(RequestContext requestContext) throws RegistryException
FilterhandleRateResource in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleGetAverageRating(RequestContext requestContext) throws RegistryException
FilterhandleGetAverageRating in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleGetRating(RequestContext requestContext) throws RegistryException
FilterhandleGetRating in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleCreateVersion(RequestContext requestContext) throws RegistryException
FilterhandleCreateVersion in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleGetVersions(RequestContext requestContext) throws RegistryException
FilterhandleGetVersions in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleRestoreVersion(RequestContext requestContext) throws RegistryException
FilterhandleRestoreVersion in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleDump(RequestContext requestContext) throws RegistryException
FilterhandleDump in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public boolean handleRestore(RequestContext requestContext) throws RegistryException
FilterhandleRestore in class FilterrequestContext - Information about the current requestContext.RegistryException - Filter implementations should deal with the specific exceptions and
throw a RegistryException if the exception has to be propagated to
the surface.public void setGetPattern(String getPattern)
getPattern - the get Patternpublic void setExecuteQueryPattern(String executeQuery)
executeQuery - the get Patternpublic void setPutPattern(String putPattern)
putPattern - the put Patternpublic void setImportPattern(String importPattern)
importPattern - the import Patternpublic void setDeletePattern(String deletePattern)
deletePattern - the delete Patternpublic void setPutChildPattern(String putChildPattern)
putChildPattern - the putChild Patternpublic void setImportChildPattern(String importChildPattern)
importChildPattern - the importChild Patternpublic void setInvokeAspectPattern(String invokeAspectPattern)
invokeAspectPattern - the invokeAspect Patternpublic void setMovePattern(String movePattern)
movePattern - the move Patternpublic void setCopyPattern(String copyPattern)
copyPattern - the copy Patternpublic void setRenamePattern(String renamePattern)
renamePattern - the rename Patternpublic void setCreateLinkPattern(String createLinkPattern)
createLinkPattern - the createLink Patternpublic void setRemoveLinkPattern(String removeLinkPattern)
removeLinkPattern - the removeLink Patternpublic void setResourceExistsPattern(String resourceExistsPattern)
resourceExistsPattern - the resourceExists Patternpublic void setGetRegistryContextPattern(String getRegistryContextPattern)
getRegistryContextPattern - the getRegistryContext Patternpublic void setAddAssociationPattern(String addAssociationPattern)
addAssociationPattern - the addAssociation Patternpublic void setRemoveAssociationPattern(String removeAssociationPattern)
removeAssociationPattern - the removeAssociation Patternpublic void setGetAllAssociationsPattern(String getAllAssociationsPattern)
getAllAssociationsPattern - the getAllAssociations Patternpublic void setGetAssociationsPattern(String getAssociationsPattern)
getAssociationsPattern - the getAssociations Patternpublic void setApplyTagPattern(String applyTagPattern)
applyTagPattern - the applyTag Patternpublic void setGetTagsPattern(String getTagsPattern)
getTagsPattern - the getTags Patternpublic void setRemoveTagPattern(String removeTagPattern)
removeTagPattern - the removeTag Patternpublic void setAddCommentPattern(String addCommentPattern)
addCommentPattern - the addComment Patternpublic void setEditCommentPattern(String editCommentPattern)
editCommentPattern - the editComment Patternpublic void setRemoveCommentPattern(String removeCommentPattern)
removeCommentPattern - the removeComment Patternpublic void setGetCommentsPattern(String getCommentsPattern)
getCommentsPattern - the getComments Patternpublic void setRateResourcePattern(String rateResourcePattern)
rateResourcePattern - the rateResource Patternpublic void setGetAverageRatingPattern(String getAverageRatingPattern)
getAverageRatingPattern - the getAverageRating Patternpublic void setGetRatingPattern(String getRatingPattern)
getRatingPattern - the getRating Patternpublic void setCreateVersionPattern(String createVersionPattern)
createVersionPattern - the createVersion Patternpublic void setGetVersionsPattern(String getVersionsPattern)
getVersionsPattern - the getVersions Patternpublic void setRestoreVersionPattern(String restoreVersionPattern)
restoreVersionPattern - the restoreVersion Patternpublic void setDumpPattern(String dumpPattern)
dumpPattern - the dump Patternpublic void setRestorePattern(String restorePattern)
restorePattern - the restore Patternpublic void setPattern(String pattern)
pattern - the pattern to set.Copyright © 2015 WSO2 Inc. All Rights Reserved.