public class Timestamp extends SecurityHeaderBlockImpl
| Modifier and Type | Field and Description |
|---|---|
static SimpleDateFormat |
calendarFormatter1 |
static SimpleDateFormat |
calendarFormatter2 |
static long |
MAX_CLOCK_SKEW |
static long |
TIMESTAMP_FRESHNESS_LIMIT |
delegateElementATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
Timestamp() |
Timestamp(SOAPElement element)
Takes a SOAPElement and checks if it has the right name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createDateTime() |
SOAPElement |
getAsSoapElement() |
String |
getCreated() |
String |
getCreatedValueType() |
String |
getExpires() |
String |
getExpiresValueType() |
String |
getId() |
void |
setCreated(String created) |
void |
setCreatedValueType(String createdValueType) |
void |
setExpires(String expires) |
void |
setExpiresValueType(String expiresValueType) |
void |
setId(String wsuId) |
void |
setTimeout(long timeout)
The timeout is assumed to be in seconds
|
addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, appendChild, cloneNode, compareDocumentPosition, detachNode, equals, fromSoapElement, getAllAttributes, getAllAttributesAsQNames, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAttributeValue, getBaseURI, getChildElements, getChildElements, getChildNodes, getElementName, getElementsByTagName, getElementsByTagNameNS, getEncodingStyle, getFeature, getFirstChild, getLastChild, getLocalName, getNamespacePrefixes, getNamespaceURI, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getSchemaTypeInfo, getSoapFactory, getTagName, getTextContent, getUserData, getValue, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, insertBefore, isBSP, isBSP, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, recycleNode, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, removeContents, removeNamespaceDeclaration, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setEncodingStyle, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setParentElement, setPrefix, setSOAPElement, setTextContent, setUserData, setValue, setWsuIdAttraddAttribute, addChildElement, createQName, getAttributeValue, getChildElements, getElementQName, removeAttribute, setElementQNameclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAttribute, addChildElement, createQName, getAttributeValue, getChildElements, getElementQName, removeAttribute, setElementQNamepublic static final SimpleDateFormat calendarFormatter1
public static final SimpleDateFormat calendarFormatter2
public static final long MAX_CLOCK_SKEW
public static final long TIMESTAMP_FRESHNESS_LIMIT
public Timestamp()
public Timestamp(SOAPElement element) throws XWSSecurityException
XWSSecurityExceptionpublic String getCreated()
public void setCreated(String created)
public String getCreatedValueType()
public void setCreatedValueType(String createdValueType)
public void setTimeout(long timeout)
public String getExpires()
public void setExpires(String expires)
public String getExpiresValueType()
public void setExpiresValueType(String expiresValueType)
public String getId()
getId in interface SecurityHeaderBlockgetId in class SecurityHeaderBlockImplpublic void setId(String wsuId)
public SOAPElement getAsSoapElement() throws XWSSecurityException
getAsSoapElement in interface SecurityHeaderBlockgetAsSoapElement in class SecurityHeaderBlockImplXWSSecurityExceptionpublic void createDateTime()
throws XWSSecurityException
XWSSecurityExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.