@UsesSunHttpServer public class SimpleHessianServiceExporter extends HessianExporter implements com.sun.net.httpserver.HttpHandler
HttpHandler
interface.
Hessian is a slim, binary RPC protocol. For information on Hessian, see the Hessian website. Note: As of Spring 4.0, this exporter requires Hessian 4.0 or above.
Hessian services exported with this class can be accessed by any Hessian client, as there isn't any special handling involved.
HessianClientInterceptor
,
HessianProxyFactoryBean
,
SimpleHttpInvokerServiceExporter
CONTENT_TYPE_HESSIAN
logger
Constructor and Description |
---|
SimpleHessianServiceExporter() |
Modifier and Type | Method and Description |
---|---|
void |
handle(com.sun.net.httpserver.HttpExchange exchange)
Processes the incoming Hessian request and creates a Hessian response.
|
afterPropertiesSet, doInvoke, invoke, prepare, setAllowNonSerializable, setDebug, setRemoteResolver, setSendCollectionType, setSerializerFactory
checkService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, setInterceptors, setRegisterTraceInterceptor, setService, setServiceInterface
getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader
public void handle(com.sun.net.httpserver.HttpExchange exchange) throws IOException
handle
in interface com.sun.net.httpserver.HttpHandler
IOException