org.openrdf.http.object.filters
Class ServerNameFilter
java.lang.Object
org.openrdf.http.object.model.Filter
org.openrdf.http.object.filters.ServerNameFilter
public class ServerNameFilter
- extends Filter
Add a Server header to the response.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerNameFilter
public ServerNameFilter(String name,
Filter delegate)
getServerName
public String getServerName()
setServerName
public void setServerName(String name)
setPort
public void setPort(Integer port)
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-2010 James Leigh Services Inc.. All Rights Reserved.