Class ContentCodingParameter


  • public class ContentCodingParameter
    extends uk.ac.starlink.task.BooleanParameter
    Parameter for configuring HTTP-level compression.
    Since:
    6 May 2015
    Author:
    Mark Taylor
    • Field Summary

      • Fields inherited from class uk.ac.starlink.task.Parameter

        BY_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      uk.ac.starlink.util.ContentCoding codingValue​(uk.ac.starlink.task.Environment env)
      Returns the content coding instance indicated by the current value of this parameter.
      • Methods inherited from class uk.ac.starlink.task.BooleanParameter

        booleanValue, setBooleanDefault, stringToObject
      • Methods inherited from class uk.ac.starlink.task.Parameter

        clearValue, getDescription, getName, getPosition, getPreferExplicit, getPrompt, getStringDefault, getUsage, getValueClass, isNullPermitted, objectToString, objectValue, setDescription, setDescription, setName, setNullPermitted, setPosition, setPreferExplicit, setPrompt, setStringDefault, setUsage, setValue, setValueFromObject, setValueFromString, stringValue, toArray, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ContentCodingParameter

        public ContentCodingParameter()
        Constructor.
    • Method Detail

      • codingValue

        public uk.ac.starlink.util.ContentCoding codingValue​(uk.ac.starlink.task.Environment env)
                                                      throws uk.ac.starlink.task.TaskException
        Returns the content coding instance indicated by the current value of this parameter.
        Parameters:
        env - execution envirionment
        Returns:
        content-coding instance, not null
        Throws:
        uk.ac.starlink.task.TaskException