Tabnine Logo
DefaultOnlineResource.getProtocolRequest
Code IndexAdd Tabnine to your IDE (free)

How to use
getProtocolRequest
method
in
org.apache.sis.metadata.iso.citation.DefaultOnlineResource

Best Java code snippets using org.apache.sis.metadata.iso.citation.DefaultOnlineResource.getProtocolRequest (Showing top 2 results out of 315)

origin: org.apache.sis.core/sis-metadata

/**
 * Constructs a new instance initialized with the values from the specified metadata object.
 * This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
 * given object are not recursively copied.
 *
 * @param  object  the metadata to copy values from, or {@code null} if none.
 *
 * @see #castOrCopy(OnlineResource)
 */
public DefaultOnlineResource(final OnlineResource object) {
  super(object);
  if (object != null) {
    linkage            = object.getLinkage();
    protocol           = object.getProtocol();
    applicationProfile = object.getApplicationProfile();
    name               = object.getName();
    description        = object.getDescription();
    function           = object.getFunction();
    if (object instanceof DefaultOnlineResource) {
      protocolRequest = ((DefaultOnlineResource) object).getProtocolRequest();
    }
  }
}
origin: apache/sis

/**
 * Constructs a new instance initialized with the values from the specified metadata object.
 * This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
 * given object are not recursively copied.
 *
 * @param  object  the metadata to copy values from, or {@code null} if none.
 *
 * @see #castOrCopy(OnlineResource)
 */
public DefaultOnlineResource(final OnlineResource object) {
  super(object);
  if (object != null) {
    linkage            = object.getLinkage();
    protocol           = object.getProtocol();
    applicationProfile = object.getApplicationProfile();
    name               = object.getName();
    description        = object.getDescription();
    function           = object.getFunction();
    if (object instanceof DefaultOnlineResource) {
      protocolRequest = ((DefaultOnlineResource) object).getProtocolRequest();
    }
  }
}
org.apache.sis.metadata.iso.citationDefaultOnlineResourcegetProtocolRequest

Javadoc

Returns the request used to access the resource depending on the protocol. This is used mainly for POST requests.
Example: xml

Popular methods of DefaultOnlineResource

  • <init>
    Constructs a new instance initialized with the values from the specified metadata object. This is a
  • setFunction
    Sets the code for function performed by the online resource.
  • setDescription
    Sets the detailed text description of what the online resource is/does.
  • setProtocol
    Sets the connection protocol to be used.
  • setLinkage
    Sets the location (address) for on-line access using a Uniform Resource Locator address or similar a
  • castOrCopy
    Returns a SIS metadata implementation with the values of the given arbitrary implementation. This me
  • checkWritePermission
  • setApplicationProfile
    Sets the name of an application profile that can be used with the online resource.
  • setName
    Sets the name of the online resource.Upcoming API change — internationalization The argument type ma

Popular in Java

  • Creating JSON documents from java classes using gson
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • putExtra (Intent)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now