public class Request extends AbstractXmlElement
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_NAME |
Modifier and Type | Method and Description |
---|---|
protected String |
getElementName() |
Headers |
getHeaders() |
String |
getHttpVersion() |
String |
getMethod() |
URI |
getUri() |
protected void |
parseAttributes(XMLStreamReader token) |
protected void |
parseChildren(XMLStreamReader token,
String child) |
void |
setHeaders(Headers headers) |
void |
setHttpVersion(String httpVersion) |
void |
setMethod(String method) |
void |
setUri(URI uri) |
void |
write(XMLStreamWriter out) |
doAfterParsing, getBoolean, move2RootElementIfNeeded, parse, parseCharacters, toXml, writeIfNotNull
public static final String ELEMENT_NAME
protected void parseAttributes(XMLStreamReader token) throws XMLStreamException
parseAttributes
in class AbstractXmlElement
XMLStreamException
protected void parseChildren(XMLStreamReader token, String child) throws Exception
parseChildren
in class AbstractXmlElement
Exception
public void write(XMLStreamWriter out) throws XMLStreamException
write
in interface XMLElement
write
in class AbstractXmlElement
XMLStreamException
public String getMethod()
public void setMethod(String method)
public String getHttpVersion()
public void setHttpVersion(String httpVersion)
public URI getUri()
public void setUri(URI uri)
public Headers getHeaders()
public void setHeaders(Headers headers)
protected String getElementName()
getElementName
in class AbstractXmlElement
Copyright © 2012. All Rights Reserved.