org.apache.jetspeed.capabilities.impl
Class CapabilityValveImpl
java.lang.Object
org.apache.jetspeed.capabilities.impl.CapabilityValveImpl
- All Implemented Interfaces:
- CapabilityValve, org.apache.jetspeed.pipeline.valve.Valve
public class CapabilityValveImpl
- extends Object
- implements CapabilityValve
Invokes the capability mapper in the request pipeline
- Version:
- $Id: CapabilityValveImpl.java 517719 2007-03-13 15:05:48Z ate $
- Author:
- Roger Ruttimann
Constructor Summary |
CapabilityValveImpl(org.apache.jetspeed.capabilities.Capabilities capabilities)
|
Method Summary |
void |
initialize()
Initialize the valve before using in a pipeline. |
void |
invoke(org.apache.jetspeed.request.RequestContext request,
org.apache.jetspeed.pipeline.valve.ValveContext context)
|
protected String |
mapContentType(org.apache.jetspeed.request.RequestContext request,
String contentType)
|
String |
toString()
|
log
private static final org.apache.commons.logging.Log log
resourceDefault
String resourceDefault
capabilities
private org.apache.jetspeed.capabilities.Capabilities capabilities
MIME_MAP
static String[][] MIME_MAP
CapabilityValveImpl
public CapabilityValveImpl(org.apache.jetspeed.capabilities.Capabilities capabilities)
initialize
public void initialize()
throws org.apache.jetspeed.pipeline.PipelineException
- Initialize the valve before using in a pipeline.
- Specified by:
initialize
in interface org.apache.jetspeed.pipeline.valve.Valve
- Throws:
org.apache.jetspeed.pipeline.PipelineException
invoke
public void invoke(org.apache.jetspeed.request.RequestContext request,
org.apache.jetspeed.pipeline.valve.ValveContext context)
throws org.apache.jetspeed.pipeline.PipelineException
- Specified by:
invoke
in interface org.apache.jetspeed.pipeline.valve.Valve
- Throws:
org.apache.jetspeed.pipeline.PipelineException
mapContentType
protected String mapContentType(org.apache.jetspeed.request.RequestContext request,
String contentType)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.