Class OperationType


  • public class OperationType
    extends Object
    Represents an operation used by Open Web Services for requests and responses.
    Author:
    rgould
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected List<String> formats  
      protected URL get  
      protected URL post  
    • Constructor Summary

      Constructors 
      Constructor Description
      OperationType()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<String> getFormats()
      Each format is usually a MIME type string that can be used to indicate what format the server's response should be in.
      URL getGet()  
      URL getPost()  
      void setFormats​(List<String> formats)  
      void setGet​(URL get)  
      void setPost​(URL post)  
      • Methods inherited from class Object

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

      • formats

        protected List<String> formats
      • get

        protected URL get
      • post

        protected URL post
    • Constructor Detail

      • OperationType

        public OperationType()
    • Method Detail

      • getFormats

        public List<String> getFormats()
        Each format is usually a MIME type string that can be used to indicate what format the server's response should be in.
        Returns:
        a List of Strings, each of which usually represent a mime type
      • setFormats

        public void setFormats​(List<String> formats)
      • getGet

        public URL getGet()
        Returns:
        the URL where a GET request should be made
      • setGet

        public void setGet​(URL get)
      • getPost

        public URL getPost()
        Returns:
        the URL where a POST request should be made
      • setPost

        public void setPost​(URL post)