| org.w3c.tools.resources.Resource org.w3c.tools.resources.FramedResource org.w3c.tools.resources.ResourceFrame org.w3c.tools.resources.ResourceFilter org.w3c.jigedit.filters.SimpleGrepFilter
Inner Class :class ByteArrayComp | |
ATTR_FORBIDSTRING_ARRAY | protected static int ATTR_FORBIDSTRING_ARRAY(Code) | | Attribute index - The strings to grep.
|
ATTR_REDIRECT | protected static int ATTR_REDIRECT(Code) | | Attribute index - The url to redirect.
|
forbiddenBytes | protected ByteArrayComp[] forbiddenBytes(Code) | | |
getForbiddenBytes | protected ByteArrayComp[] getForbiddenBytes()(Code) | | |
getForbiddenStrings | protected String[] getForbiddenStrings()(Code) | | |
ingoingFilter | public ReplyInterface ingoingFilter(RequestInterface req)(Code) | | Search the forbidden string in the body, if found return
an ACCES FORBIDDEN Reply.
Parameters: request - The request that is about to be processsed. |
searchForbiddenStrings | protected String searchForbiddenStrings(InputStream in)(Code) | | Searh for a forbidden string in given stream.
Parameters: in - the InputStream The String found or null if nonewas found. |
setValue | public void setValue(int idx, Object value)(Code) | | Catch assignements to the forbidden strings attribute.
When a change to that attribute is detected, the cached value
are updated.
|
Methods inherited from org.w3c.tools.resources.ResourceFilter | public ReplyInterface exceptionFilter(RequestInterface request, ProtocolException ex, FilterInterface filters, int i)(Code)(Java Doc) public Resource getTargetResource()(Code)(Java Doc) public ReplyInterface ingoingFilter(RequestInterface request) throws ProtocolException(Code)(Java Doc) public ReplyInterface ingoingFilter(RequestInterface request, FilterInterface filters, int i) throws ProtocolException(Code)(Java Doc) public void initialize(Hashtable defs)(Code)(Java Doc) public boolean lookup(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) public ReplyInterface outgoingFilter(RequestInterface request, ReplyInterface reply) throws ProtocolException(Code)(Java Doc) public ReplyInterface outgoingFilter(RequestInterface request, ReplyInterface reply, FilterInterface filters, int fidx) throws ProtocolException(Code)(Java Doc) public OutputStream outputFilter(RequestInterface request, ReplyInterface reply, OutputStream output)(Code)(Java Doc) public void pickleValues(Hashtable defs)(Code)(Java Doc)
|
Methods inherited from org.w3c.tools.resources.FramedResource | public void addAttributeChangedListener(AttributeChangedListener l)(Code)(Java Doc) public void addStructureChangedListener(StructureChangedListener l)(Code)(Java Doc) public synchronized ResourceReference[] collectFramesReference(Class c)(Code)(Java Doc) public synchronized void delete() throws MultipleLockException(Code)(Java Doc) protected void disableEvent()(Code)(Java Doc) protected void displayEvent(FramedResource fr, EventObject evt)(Code)(Java Doc) protected void enableEvent()(Code)(Java Doc) protected boolean eventDisabled()(Code)(Java Doc) protected void fireAttributeChangeEvent(AttributeChangedEvent evt)(Code)(Java Doc) protected void fireStructureChangedEvent(int type)(Code)(Java Doc) protected void fireStructureChangedEvent(StructureChangedEvent evt)(Code)(Java Doc) public void frameAdded(FrameEvent evt)(Code)(Java Doc) public void frameModified(FrameEvent evt)(Code)(Java Doc) public void frameRemoved(FrameEvent evt)(Code)(Java Doc) public Object getClone(Object values)(Code)(Java Doc) public synchronized ResourceFrame getFrame(Class c, String identifier)(Code)(Java Doc) public synchronized ResourceFrame getFrame(String classname)(Code)(Java Doc) public synchronized ResourceReference getFrameReference(Class c)(Code)(Java Doc) public synchronized ResourceReference getFrameReference(ResourceFrame frame)(Code)(Java Doc) public synchronized ResourceReference[] getFramesReference()(Code)(Java Doc) public int getOid()(Code)(Java Doc) public void initialize(Object values)(Code)(Java Doc) public boolean lookup(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) public void markModified()(Code)(Java Doc) public void notifyUnload()(Code)(Java Doc) public ReplyInterface perform(RequestInterface request) throws ProtocolException, ResourceException(Code)(Java Doc) protected ReplyInterface performFrames(RequestInterface request) throws ProtocolException, ResourceException(Code)(Java Doc) protected void postAttributeChangeEvent(int idx, Object newvalue)(Code)(Java Doc) public void postEvent(ResourceEvent evt)(Code)(Java Doc) protected void postStructureChangedEvent(ResourceReference rr, int type)(Code)(Java Doc) protected void postStructureChangedEvent(int type)(Code)(Java Doc) public void processEvent(ResourceEvent evt)(Code)(Java Doc) public void registerFrame(ResourceFrame frame, Hashtable defs)(Code)(Java Doc) protected void registerFrameIfNone(String classname, String identifier) throws ClassNotFoundException, IllegalAccessException, InstantiationException, ClassCastException(Code)(Java Doc) public void removeAttributeChangedListener(AttributeChangedListener l)(Code)(Java Doc) public void removeStructureChangedListener(StructureChangedListener l)(Code)(Java Doc) public synchronized void setSilentValue(int idx, Object value)(Code)(Java Doc) public synchronized void setSilentValue(String name, Object value)(Code)(Java Doc) public synchronized void setValue(int idx, Object value)(Code)(Java Doc) public synchronized void unregisterFrame(ResourceFrame frame)(Code)(Java Doc)
|
|
|