Package org.wymiwyg.wrhapi.util

Examples of org.wymiwyg.wrhapi.util.HTTPDateFormat


      response
          .setHeader(HeaderName.CONTENT_LENGTH, Long.toString(length));
    }
    Date lastModified = resources[0].getLastModified();
    if (lastModified != null) {
      response.setHeader(HeaderName.LAST_MODIFIED, new HTTPDateFormat()
          .format(lastModified));
    }
    response.setBody(dataIn);
  }
View Full Code Here


      Date lastModifiedDate = ((XSDDateTime) lastModified.getValue())
          .asCalendar().getTime();
      Element lastmodifiedElem = document.createElementNS("DAV:",
          "getlastmodified");
      lastmodifiedElem.appendChild(document
          .createTextNode(new HTTPDateFormat()
              .format(lastModifiedDate)));
      result.put(new PropertyType(lastmodifiedElem), lastmodifiedElem);
    }

    /*
 
View Full Code Here

TOP

Related Classes of org.wymiwyg.wrhapi.util.HTTPDateFormat

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.