public class ServerToHostProtocolHandler extends Object implements ManagementRequestHandlerFactory
Modifier and Type | Class and Description |
---|---|
static interface |
ServerToHostProtocolHandler.OperationExecutor
wrapper to the DomainController and the underlying
ModelController to execute
a OperationStepHandler implementation directly, bypassing normal domain coordination layer. |
ManagementRequestHandlerFactory.RequestHandlerChain
Modifier and Type | Method and Description |
---|---|
ManagementRequestHandler<?,?> |
resolveHandler(ManagementRequestHandlerFactory.RequestHandlerChain handlers,
ManagementRequestHeader header)
Try to resolve the request handler for the give header.
|
protected static void |
safeWriteResponse(org.jboss.remoting3.Channel channel,
ManagementProtocolHeader header,
byte param) |
protected static void |
safeWriteResponse(org.jboss.remoting3.Channel channel,
ManagementProtocolHeader header,
Exception error) |
protected static void |
safeWriteResponse(ManagementRequestContext<?> context,
Exception error) |
protected static void |
writeHeader(ManagementProtocolHeader header,
OutputStream os) |
protected static void |
writeResponse(org.jboss.remoting3.Channel channel,
ManagementRequestHeader header,
byte param) |
protected static void |
writeResponse(org.jboss.remoting3.Channel channel,
ManagementRequestHeader header,
Exception error) |
public ManagementRequestHandler<?,?> resolveHandler(ManagementRequestHandlerFactory.RequestHandlerChain handlers, ManagementRequestHeader header)
ManagementRequestHandlerFactory
resolveHandler
in interface ManagementRequestHandlerFactory
handlers
- the handlers chainheader
- the request headerprotected static void safeWriteResponse(ManagementRequestContext<?> context, Exception error)
protected static void safeWriteResponse(org.jboss.remoting3.Channel channel, ManagementProtocolHeader header, Exception error)
protected static void writeResponse(org.jboss.remoting3.Channel channel, ManagementRequestHeader header, Exception error) throws IOException
IOException
protected static void safeWriteResponse(org.jboss.remoting3.Channel channel, ManagementProtocolHeader header, byte param)
protected static void writeResponse(org.jboss.remoting3.Channel channel, ManagementRequestHeader header, byte param) throws IOException
IOException
protected static void writeHeader(ManagementProtocolHeader header, OutputStream os) throws IOException
IOException
Copyright © 2023 JBoss by Red Hat. All rights reserved.