Uses of Class
org.apache.guacamole.GuacamoleException
-
Packages that use GuacamoleException Package Description org.apache.guacamole All classes which apply generally across the Guacamole web application and all other web applications which use the API provided by the Guacamole project.org.apache.guacamole.io All classes relating directly to data input or output.org.apache.guacamole.net Classes which apply to network-specific concepts, such as low-level sockets and tunnels.org.apache.guacamole.protocol Classes relating directly to the Guacamole protocol.org.apache.guacamole.servlet Classes which build upon the Java Servlet API, providing an HTTP-based tunnel and session management.org.apache.guacamole.websocket -
-
Uses of GuacamoleException in org.apache.guacamole
Subclasses of GuacamoleException in org.apache.guacamole Modifier and Type Class Description classGuacamoleClientBadTypeExceptionAn exception which is thrown when data has been submitted with an unsupported mimetype.classGuacamoleClientExceptionA generic exception thrown when part of the Guacamole API encounters an error in the client's request.classGuacamoleClientOverrunExceptionAn exception which is thrown when the client has sent too much data.classGuacamoleClientTimeoutExceptionAn exception which is thrown when the client is taking too long to respond.classGuacamoleClientTooManyExceptionAn exception which is thrown when too many requests have been received by the current client, and further requests are being rejected, either temporarily or permanently.classGuacamoleConnectionClosedExceptionAn exception which is thrown when an operation cannot be performed because its corresponding connection is closed.classGuacamoleResourceClosedExceptionAn exception which is thrown when a resource is no longer available because it is closed.classGuacamoleResourceConflictExceptionAn exception which is thrown when a resource has been requested, but that resource is locked or currently in use, and cannot be accessed by the current user.classGuacamoleResourceNotFoundExceptionA generic exception thrown when part of the Guacamole API fails to find a requested resource, such as a configuration or tunnel.classGuacamoleSecurityExceptionA security-related exception thrown when parts of the Guacamole API is denying access to a resource.classGuacamoleServerBusyExceptionAn exception which is thrown when the server is too busy to service the request.classGuacamoleServerExceptionA generic exception thrown when part of the Guacamole API encounters an unexpected, internal error.classGuacamoleSessionClosedExceptionAn exception which indicates that a session within an upstream server (such as the remote desktop) has been forcibly terminated.classGuacamoleSessionConflictExceptionAn exception which indicates that a session within an upstream server (such as the remote desktop) has ended because it conflicted with another session.classGuacamoleSessionTimeoutExceptionAn exception which indicates that a session within an upstream server (such as the remote desktop) has ended because it appeared to be inactive.classGuacamoleUnauthorizedExceptionA security-related exception thrown when parts of the Guacamole API is denying access to a resource, but access MAY be granted were the user authorized (logged in).classGuacamoleUnsupportedExceptionAn exception which is thrown when the requested operation is unsupported or unimplemented.classGuacamoleUpstreamExceptionAn exception which indicates than an upstream server (such as the remote desktop) is returning an error or is otherwise unreachable.classGuacamoleUpstreamNotFoundExceptionAn exception which indicates that an upstream server (such as the remote desktop) does not appear to exist.classGuacamoleUpstreamTimeoutExceptionAn exception which indicates than an upstream server (such as the remote desktop) is taking too long to respond.classGuacamoleUpstreamUnavailableExceptionAn exception which indicates that an upstream server (such as the remote desktop) is not available to service the request. -
Uses of GuacamoleException in org.apache.guacamole.io
Methods in org.apache.guacamole.io that throw GuacamoleException Modifier and Type Method Description booleanGuacamoleReader. available()Returns whether instruction data is available for reading.booleanReaderGuacamoleReader. available()char[]GuacamoleReader. read()Reads at least one complete Guacamole instruction, returning a buffer containing one or more complete Guacamole instructions and no incomplete Guacamole instructions.char[]ReaderGuacamoleReader. read()GuacamoleInstructionGuacamoleReader. readInstruction()Reads exactly one complete Guacamole instruction and returns the fully parsed instruction.GuacamoleInstructionReaderGuacamoleReader. readInstruction()voidGuacamoleWriter. write(char[] chunk)Writes the entire given array of characters to the Guacamole instruction stream.voidGuacamoleWriter. write(char[] chunk, int off, int len)Writes a portion of the given array of characters to the Guacamole instruction stream.voidWriterGuacamoleWriter. write(char[] chunk)voidWriterGuacamoleWriter. write(char[] chunk, int off, int len)voidGuacamoleWriter. writeInstruction(GuacamoleInstruction instruction)Writes the given fully parsed instruction to the Guacamole instruction stream.voidWriterGuacamoleWriter. writeInstruction(GuacamoleInstruction instruction) -
Uses of GuacamoleException in org.apache.guacamole.net
Methods in org.apache.guacamole.net that throw GuacamoleException Modifier and Type Method Description voidAbstractGuacamoleTunnel. close()voidDelegatingGuacamoleSocket. close()voidDelegatingGuacamoleTunnel. close()voidGuacamoleSocket. close()Releases all resources in use by the connection represented by this GuacamoleSocket.voidGuacamoleTunnel. close()Release all resources allocated to this GuacamoleTunnel.voidInetGuacamoleSocket. close()voidSSLGuacamoleSocket. close()Constructors in org.apache.guacamole.net that throw GuacamoleException Constructor Description InetGuacamoleSocket(String hostname, int port)Creates a new InetGuacamoleSocket which reads and writes instructions to the Guacamole instruction stream of the Guacamole proxy server running at the given hostname and port.SSLGuacamoleSocket(String hostname, int port)Creates a new SSLGuacamoleSocket which reads and writes instructions to the Guacamole instruction stream of the Guacamole proxy server running at the given hostname and port using SSL. -
Uses of GuacamoleException in org.apache.guacamole.protocol
Methods in org.apache.guacamole.protocol that return GuacamoleException Modifier and Type Method Description abstract GuacamoleExceptionGuacamoleStatus. toException(String message)Returns an instance of theGuacamoleExceptionsubclass corresponding to this Guacamole protocol status code.Methods in org.apache.guacamole.protocol that throw GuacamoleException Modifier and Type Method Description intGuacamoleParser. append(char[] chunk)Appends data from the given buffer to the current instruction.intGuacamoleParser. append(char[] chunk, int offset, int length)Appends data from the given buffer to the current instruction.booleanFilteredGuacamoleReader. available()GuacamoleInstructionGuacamoleFilter. filter(GuacamoleInstruction instruction)Applies the filter to the given instruction, returning the original instruction, a modified version of the original, or null, depending on the implementation.char[]FilteredGuacamoleReader. read()GuacamoleInstructionFilteredGuacamoleReader. readInstruction()voidFilteredGuacamoleWriter. write(char[] chunk)voidFilteredGuacamoleWriter. write(char[] chunk, int offset, int length)voidFilteredGuacamoleWriter. writeInstruction(GuacamoleInstruction instruction)Constructors in org.apache.guacamole.protocol that throw GuacamoleException Constructor Description ConfiguredGuacamoleSocket(GuacamoleSocket socket, GuacamoleConfiguration config)Creates a new ConfiguredGuacamoleSocket which uses the given GuacamoleConfiguration to complete the initial protocol handshake over the given GuacamoleSocket.ConfiguredGuacamoleSocket(GuacamoleSocket socket, GuacamoleConfiguration config, GuacamoleClientInformation info)Creates a new ConfiguredGuacamoleSocket which uses the given GuacamoleConfiguration and GuacamoleClientInformation to complete the initial protocol handshake over the given GuacamoleSocket.FailoverGuacamoleSocket(GuacamoleSocket socket)Creates a new FailoverGuacamoleSocket which reads Guacamole instructions from the given socket, searching for errors from the upstream remote desktop until a maximum of 128KB of instruction data has been queued.FailoverGuacamoleSocket(GuacamoleSocket socket, int instructionQueueLimit)Creates a new FailoverGuacamoleSocket which reads Guacamole instructions from the given socket, searching for errors from the upstream remote desktop until the given instruction queue limit is reached. -
Uses of GuacamoleException in org.apache.guacamole.servlet
Methods in org.apache.guacamole.servlet that throw GuacamoleException Modifier and Type Method Description protected abstract GuacamoleTunnelGuacamoleHTTPTunnelServlet. doConnect(javax.servlet.http.HttpServletRequest request)Called whenever the JavaScript Guacamole client makes a connection request via HTTP.protected voidGuacamoleHTTPTunnelServlet. doRead(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String tunnelSessionToken)Called whenever the JavaScript Guacamole client makes a read request.protected voidGuacamoleHTTPTunnelServlet. doWrite(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String tunnelSessionToken)Called whenever the JavaScript Guacamole client makes a write request.protected GuacamoleTunnelGuacamoleHTTPTunnelServlet. getTunnel(String tunnelSessionToken)Returns the tunnel associated with the given tunnel-specific session token, if it has been registered withGuacamoleHTTPTunnelServlet.registerTunnel(java.lang.String, org.apache.guacamole.net.GuacamoleTunnel)and not yet deregistered withGuacamoleHTTPTunnelServlet.deregisterTunnel(java.lang.String). -
Uses of GuacamoleException in org.apache.guacamole.websocket
Methods in org.apache.guacamole.websocket that throw GuacamoleException Modifier and Type Method Description protected abstract GuacamoleTunnelGuacamoleWebSocketTunnelEndpoint. createTunnel(javax.websocket.Session session, javax.websocket.EndpointConfig config)Returns a new tunnel for the given session.
-