org.openrdf.server.metadata.filters
Class ServerNameFilter

java.lang.Object
  extended by org.openrdf.server.metadata.filters.ServerNameFilter
All Implemented Interfaces:
Filter

public class ServerNameFilter
extends Object
implements Filter


Constructor Summary
ServerNameFilter(String name)
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain)
           
 String getServerName()
           
 void init(FilterConfig arg0)
           
 void setServerName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerNameFilter

public ServerNameFilter(String name)
Method Detail

getServerName

public String getServerName()

setServerName

public void setServerName(String name)

init

public void init(FilterConfig arg0)
          throws ServletException
Specified by:
init in interface Filter
Throws:
ServletException

destroy

public void destroy()
Specified by:
destroy in interface Filter

doFilter

public void doFilter(ServletRequest req,
                     ServletResponse resp,
                     FilterChain chain)
              throws IOException,
                     ServletException
Specified by:
doFilter in interface Filter
Throws:
IOException
ServletException


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