|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.filter.SetHeaderFilter
public class SetHeaderFilter
This is a class that sets headers in the request and/or response. Mostly an example of how to set headers.
| Constructor Summary | |
|---|---|
SetHeaderFilter()
|
|
| Method Summary | |
|---|---|
HttpHeader |
doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
void |
setup(SProperties properties)
Setup this filter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetHeaderFilter()
| Method Detail |
|---|
public HttpHeader doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
HttpFilter
doHttpInFiltering in interface HttpFiltersocket - the Socket that made the request.header - the actual request made.con - the Connection handling the request.
public HttpHeader doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
HttpFilter
doHttpOutFiltering in interface HttpFiltersocket - the Socket that made the request.header - the actual request made.con - the Connection handling the request.
public void setup(SProperties properties)
HttpFilter
setup in interface HttpFilterproperties - the SProperties to get the settings from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||