Пример #1
0
  protected void addRequestMethod(String requestMethod) {
    DCPInfo dcpi = this.protocols.get(this.protocols.size() - 1);

    if (dcpi.method != null) {
      dcpi = new DCPInfo(dcpi.protocol);
      this.protocols.add(dcpi);
    }

    dcpi.method = requestMethod;
  }
Пример #2
0
  protected void addOnlineResource(OGCOnlineResource onlineResource) {
    DCPInfo dcpi = this.protocols.get(this.protocols.size() - 1);

    dcpi.onlineResource = onlineResource;
  }