org.openrdf.http.object.filters
Class IdentityPrefix

java.lang.Object
  extended by org.openrdf.http.object.model.Filter
      extended by org.openrdf.http.object.filters.IdentityPrefix

public class IdentityPrefix
extends Filter

Extracts a percent encoded URI from a wrapping URL.

Author:
James Leigh

Constructor Summary
IdentityPrefix(Filter delegate)
           
 
Method Summary
 Request filter(Request req)
           
 org.apache.http.HttpResponse filter(Request req, org.apache.http.HttpResponse resp)
           
 String[] getIdentityPrefix()
           
 void setIdentityPrefix(String[] prefix)
           
 
Methods inherited from class org.openrdf.http.object.model.Filter
consume, intercept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityPrefix

public IdentityPrefix(Filter delegate)
Method Detail

getIdentityPrefix

public String[] getIdentityPrefix()

setIdentityPrefix

public void setIdentityPrefix(String[] prefix)

filter

public Request filter(Request req)
               throws IOException
Overrides:
filter in class Filter
Throws:
IOException

filter

public org.apache.http.HttpResponse filter(Request req,
                                           org.apache.http.HttpResponse resp)
                                    throws IOException
Overrides:
filter in class Filter
Throws:
IOException


Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.