|
| | ControlRequest () |
| |
| | ControlRequest (HTTPRequest httpReq) |
| |
| boolean | isQueryControl () |
| |
| boolean | isActionControl () |
| |
| | SOAPRequest () |
| |
| | SOAPRequest (HTTPRequest httpReq) |
| |
| void | setSOAPAction (String action) |
| |
| String | getSOAPAction () |
| |
| boolean | isSOAPAction (String value) |
| |
| SOAPResponse | postMessage (String host, int port) |
| |
| void | setEnvelopeNode (Node node) |
| |
| Node | getEnvelopeNode () |
| |
| Node | getBodyNode () |
| |
| void | setContent (Node node) |
| |
| void | print () |
| |
| | HTTPRequest () |
| |
| | HTTPRequest (InputStream in) |
| |
| | HTTPRequest (HTTPSocket httpSock) |
| |
| void | setMethod (String value) |
| |
| String | getMethod () |
| |
| boolean | isMethod (String method) |
| |
| boolean | isGetRequest () |
| |
| boolean | isPostRequest () |
| |
| boolean | isHeadRequest () |
| |
| boolean | isSubscribeRequest () |
| |
| boolean | isUnsubscribeRequest () |
| |
| boolean | isNotifyRequest () |
| |
| void | setURI (String value, boolean isCheckRelativeURL) |
| |
| void | setURI (String value) |
| |
| String | getURI () |
| |
| ParameterList | getParameterList () |
| |
| String | getParameterValue (String name) |
| |
| boolean | isSOAPAction () |
| |
| void | setRequestHost (String host) |
| |
| String | getRequestHost () |
| |
| void | setRequestPort (int host) |
| |
| int | getRequestPort () |
| |
| void | setSocket (HTTPSocket value) |
| |
| HTTPSocket | getSocket () |
| |
| String | getLocalAddress () |
| |
| int | getLocalPort () |
| |
| boolean | parseRequestLine (String lineStr) |
| |
| String | getHTTPVersion () |
| |
| String | getFirstLineString () |
| |
| String | getHeader () |
| |
| boolean | isKeepAlive () |
| |
| boolean | read () |
| |
| boolean | post (HTTPResponse httpRes) |
| |
| HTTPResponse | post (String host, int port, boolean isKeepAlive) |
| |
| HTTPResponse | post (String host, int port) |
| |
| void | set (HTTPRequest httpReq) |
| |
| boolean | returnResponse (int statusCode) |
| |
| boolean | returnOK () |
| |
| boolean | returnBadRequest () |
| |
| String | toString () |
| |
| | HTTPPacket () |
| |
| | HTTPPacket (HTTPPacket httpPacket) |
| |
| | HTTPPacket (InputStream in) |
| |
| void | init () |
| |
| void | setVersion (String ver) |
| |
| String | getVersion () |
| |
| boolean | read (HTTPSocket httpSock) |
| |
| boolean | hasFirstLine () |
| |
| int | getNHeaders () |
| |
| void | addHeader (HTTPHeader header) |
| |
| void | addHeader (String name, String value) |
| |
| HTTPHeader | getHeader (int n) |
| |
| HTTPHeader | getHeader (String name) |
| |
| void | clearHeaders () |
| |
| boolean | hasHeader (String name) |
| |
| void | setHeader (String name, String value) |
| |
| void | setHeader (String name, int value) |
| |
| void | setHeader (String name, long value) |
| |
| void | setHeader (HTTPHeader header) |
| |
| String | getHeaderValue (String name) |
| |
| void | setStringHeader (String name, String value, String startWidth, String endWidth) |
| |
| void | setStringHeader (String name, String value) |
| |
| String | getStringHeaderValue (String name, String startWidth, String endWidth) |
| |
| String | getStringHeaderValue (String name) |
| |
| void | setIntegerHeader (String name, int value) |
| |
| void | setLongHeader (String name, long value) |
| |
| int | getIntegerHeaderValue (String name) |
| |
| long | getLongHeaderValue (String name) |
| |
| String | getHeaderString () |
| |
| void | setContent (byte data[], boolean updateWithContentLength) |
| |
| void | setContent (byte data[]) |
| |
| void | setContent (String data, boolean updateWithContentLength) |
| |
| void | setContent (String data) |
| |
| byte[] | getContent () |
| |
| String | getContentString () |
| |
| boolean | hasContent () |
| |
| void | setContentInputStream (InputStream in) |
| |
| InputStream | getContentInputStream () |
| |
| boolean | hasContentInputStream () |
| |
| void | setContentType (String type) |
| |
| String | getContentType () |
| |
| void | setContentLanguage (String code) |
| |
| String | getContentLanguage () |
| |
| String | getCharSet () |
| |
| void | setContentLength (long len) |
| |
| long | getContentLength () |
| |
| boolean | hasConnection () |
| |
| void | setConnection (String value) |
| |
| String | getConnection () |
| |
| boolean | isCloseConnection () |
| |
| boolean | isKeepAliveConnection () |
| |
| boolean | hasContentRange () |
| |
| void | setContentRange (long firstPos, long lastPos, long length) |
| |
| long[] | getContentRange () |
| |
| long | getContentRangeFirstPosition () |
| |
| long | getContentRangeLastPosition () |
| |
| long | getContentRangeInstanceLength () |
| |
| void | setCacheControl (String directive) |
| |
| void | setCacheControl (String directive, int value) |
| |
| void | setCacheControl (int value) |
| |
| String | getCacheControl () |
| |
| void | setServer (String name) |
| |
| String | getServer () |
| |
| void | setHost (String host, int port) |
| |
| void | setHost (String host) |
| |
| String | getHost () |
| |
| void | setDate (Calendar cal) |
| |
| String | getDate () |
| |
| boolean | hasTransferEncoding () |
| |
| void | setTransferEncoding (String value) |
| |
| String | getTransferEncoding () |
| |
| boolean | isChunked () |
| |
Base class for UPnP control requests.
This class extends SOAPRequest to provide common functionality for both action requests and state variable query requests. It handles URL resolution, including absolute and relative URLs, URL base paths, and port extraction.
- See also
- ActionRequest
-
QueryRequest
-
SOAPRequest