com.supermap.services.wps.impl

Class WPSRequestChecker100

  • java.lang.Object
    • com.supermap.services.wps.impl.WPSRequestChecker100
  • All Implemented Interfaces:
    WPSRequestChecker


    public class WPSRequestChecker100
    extends java.lang.Object
    implements WPSRequestChecker
    

    WPS 1.0.0 request parameters verifier.

    Verify the request parameter in the WPS 1.0.0 service.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean checkRequest(java.util.Map<java.lang.String,java.lang.String> paramMap, java.util.Map<java.lang.String,java.lang.String> checkedInfo)
      Verify the parameter in keyword-value format in the WMS 1.0.0 service.
      java.lang.String getVersion()
      Get the version of the WPS request parameter verifier.
      • Methods inherited from class java.lang.Object

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

      • WPSRequestChecker100

        public WPSRequestChecker100()
        
    • Method Detail

      • checkRequest

        public boolean checkRequest(java.util.Map<java.lang.String,java.lang.String> paramMap,
                           java.util.Map<java.lang.String,java.lang.String> checkedInfo)
        

        Verify the parameter in keyword-value format in the WMS 1.0.0 service.

        The verified target parameter mapping, the key is the name of the parameter name in the WPS 1.0.0 request, the value is the parameter value. The verified result information, when therer is parameter error, the checkedInfo parameter will be stored in a detailed description of the error parameters. The key is the field name, the value is the content.
        Specified by:
        checkRequest in interface WPSRequestChecker
        Returns:
        whether the parameter is verified to be right, if yes it returns true, otherwise, false.
      • getVersion

        public java.lang.String getVersion()
        

        Get the version of the WPS request parameter verifier.

        The version of the WPS service supported by the request verifier. Here is "1.0.0".

        Specified by:
        getVersion in interface WPSRequestChecker
        Returns:
        version number.