org.apache.jetspeed.capabilities.impl
Class CapabilityValveImpl

java.lang.Object
  extended by 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

Field Summary
private  org.apache.jetspeed.capabilities.Capabilities capabilities
           
private static org.apache.commons.logging.Log log
           
(package private) static String[][] MIME_MAP
           
(package private)  String resourceDefault
           
 
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

CapabilityValveImpl

public CapabilityValveImpl(org.apache.jetspeed.capabilities.Capabilities capabilities)
Method Detail

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.