Package org.apache.catalina.valves
Class WebdavFixValve
- java.lang.Object
-
- org.apache.catalina.valves.ValveBase
-
- org.apache.catalina.valves.WebdavFixValve
-
- All Implemented Interfaces:
Contained
,Lifecycle
,Valve
,GlassFishValve
public class WebdavFixValve extends ValveBase
Valve that attempts to force MS WebDAV clients connecting on port 80 to use a WebDAV client that actually works. Other workarounds that might help include:- Specifing the port, even if it is port 80, when trying to connect.
- Canceling the first authentication dialog box and then trying to reconnect.
<Valve className="org.apache.catalina.valves.WebdavFixValve" />
to yourEngine
,Host
orContext
as required. Normally, this valve would be used at theContext
level.- Version:
- $Revision: 420067 $, $Date: 2006-07-08 09:16:58 +0200 (sub, 08 srp 2006) $
-
-
Field Summary
-
Fields inherited from class org.apache.catalina.valves.ValveBase
container, controller, debug, domain, info, lifecycle, log, next, oname, rb, started
-
Fields inherited from interface org.glassfish.web.valve.GlassFishValve
END_PIPELINE, INVOKE_NEXT
-
Fields inherited from interface org.apache.catalina.Lifecycle
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, INIT_EVENT, START_EVENT, STOP_EVENT
-
-
Constructor Summary
Constructors Constructor Description WebdavFixValve()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
invoke(Request request, Response response)
Check for the broken MS WebDAV client and if detected issue a re-direct that hopefully will cause the non-broken client to be used.-
Methods inherited from class org.apache.catalina.valves.ValveBase
addLifecycleListener, backgroundProcess, createObjectName, event, findLifecycleListeners, getContainer, getController, getDebug, getDomain, getInfo, getNext, getObjectName, getParentName, invoke, isStarted, postInvoke, removeLifecycleListener, setContainer, setController, setDebug, setNext, setObjectName, start, stop
-
-
-
-
Method Detail
-
invoke
public int invoke(Request request, Response response) throws IOException, jakarta.servlet.ServletException
Check for the broken MS WebDAV client and if detected issue a re-direct that hopefully will cause the non-broken client to be used.- Specified by:
invoke
in interfaceGlassFishValve
- Specified by:
invoke
in classValveBase
- Parameters:
request
- The servlet request to be processedresponse
- The servlet response to be created- Returns:
INVOKE_NEXT
orEND_PIPELINE
- Throws:
IOException
- if an input/output error occursjakarta.servlet.ServletException
- if a servlet error occurs
-
-