Uses of Class
org.exoplatform.common.http.client.ModuleException
Packages that use ModuleException
-
Uses of ModuleException in org.exoplatform.common.http.client
Subclasses of ModuleException in org.exoplatform.common.http.clientModifier and TypeClassDescriptionclassSignals that the handling of a authorization scheme is not implemented.Methods in org.exoplatform.common.http.client that throw ModuleExceptionModifier and TypeMethodDescriptionCopy resource or colleaction to URL spesified indestinationparameter.Copy resource or colleaction to URL spesified indestinationparameter.Requests that file be DELETEd from the server.Requests that file be DELETEd from the server.HTTPConnection.ExtensionMethod(String method, String file, byte[] data, NVPair[] headers) This is here to allow an arbitrary, non-standard request to be sent.HTTPConnection.ExtensionMethod(String method, String file, HttpOutputStream os, NVPair[] headers) This is here to allow an arbitrary, non-standard request to be sent.GETs the file.Deprecated.Deprecated.GETs the file with a query consisting of the specified form-data.GETs the file with a query consisting of the specified form-data.byte[]HTTPResponse.getData()Reads all the response data into a byte array.final URIHTTPResponse.getEffectiveURI()Get the final URI of the document.final URLHTTPResponse.getEffectiveURL()Deprecated.use getEffectiveURI() insteadRetrieves the value for a given header.HTTPResponse.getHeaderAsDate(String hdr) Retrieves the value for a given header.intHTTPResponse.getHeaderAsInt(String hdr) Retrieves the value for a given header.HTTPResponse.getInputStream()Gets an input stream from which the returned data can be read.final StringHTTPResponse.getReasonLine()Give the reason line associated with the status code.final StringHTTPResponse.getServer()Deprecated.This method is a remnant of V0.1; usegetHeader("Server")instead.final intHTTPResponse.getStatusCode()Give the status code for this request.HTTPResponse.getText()Reads all the response data into a buffer and turns it into a string using the appropriate character converter.HTTPResponse.getTrailer(String trailer) Retrieves the value for a given trailer.HTTPResponse.getTrailerAsDate(String trailer) Retrieves the value for a given trailer.intHTTPResponse.getTrailerAsInt(String trailer) Retrieves the value for a given tailer.final StringHTTPResponse.getVersion()Get the HTTP version used for the response.Sends the HEAD request.Sends the HEAD request.Sends the HEAD request.Sends the HEAD request.Sends the HEAD request.HTTPResponse.listHeaders()Returns an enumeration of all the headers available via getHeader().HTTPResponse.listTrailers()Returns an enumeration of all the trailers available via getTrailer().LOCK requestRefresh LOCK request.Create new Collection.Move resource or colleaction to URL spesified indestinationparameter.Move resource or colleaction to URL spesified indestinationparameter.Request OPTIONS from the server.Request OPTIONS from the server.Request OPTIONS from the server.HTTPConnection.Options(String file, NVPair[] headers, HttpOutputStream stream) Request OPTIONS from the server.POSTs to the specified file.POSTs the raw data to the specified file.POSTs the raw data to the specified file using the specified headers.POSTs the data to the specified file.POSTs the data to the specified file using the specified headers.HTTPConnection.Post(String file, HttpOutputStream stream) POSTs the data written to the output stream to the specified file.HTTPConnection.Post(String file, HttpOutputStream stream, NVPair[] headers) POSTs the data written to the output stream to the specified file using the specified headers.POSTs form-data to the specified file.POST's form-data to the specified file using the specified headers.PROPFIND prop request with 'Depth' header specified as 'infinity'.PROPFIND prop request.HTTPConnection.PropfindAllprop(String resource) PROPFIND allprop request with 'Depth' header specified as 'infinity'.HTTPConnection.PropfindAllprop(String resource, int depth) PROPFIND allprop request with 'Depth' header specified as 'infinity'.HTTPConnection.PropfindPropname(String resource) PROPFIND propname request with 'Depth' header specified as 'infinity'.HTTPConnection.PropfindPropname(String resource, int depth) PROPFIND propname request.HTTPConnection.Proppath(String resource, Map<String, List<String>> propsSet, List<String> propsRemove) PROPPATCH request.PUTs the raw data into the specified file.PUTs the raw data into the specified file using the additional headers.PUTs the data into the specified file.PUTs the data into the specified file using the additional headers for the request.HTTPConnection.Put(String file, HttpOutputStream stream) PUTs the data written to the output stream into the specified file.HTTPConnection.Put(String file, HttpOutputStream stream, NVPair[] headers) PUTs the data written to the output stream into the specified file using the additional headers.intHTTPClientModule.requestHandler(Request request, Response[] response) This is invoked before the request is sent.voidHTTPClientModule.responsePhase1Handler(Response response, RoRequest request) The phase 1 response handler.intHTTPClientModule.responsePhase2Handler(Response response, Request request) The phase 2 response handler.voidHTTPClientModule.responsePhase3Handler(Response response, RoRequest request) The phase 3 response handler.booleanHTTPResponse.retryRequest()Should the request be retried by the application? If the application used an HttpOutputStream in the request then various modules (such as the redirection and authorization modules) are not able to resend the request themselves.protected final HTTPResponseHTTPConnection.setupRequest(String method, String resource, NVPair[] headers, byte[] entity, HttpOutputStream stream) Sets up the request, creating the list of headers to send and creating instances of the modules.Requests a TRACE.Requests a TRACE.voidHTTPClientModule.trailerHandler(Response response, RoRequest request) The chunked transfer-encoding (and in future maybe others) can contain trailer fields at the end of the body.Refresh LOCK request.