Servis-Rhino 4211B Guia do Utilizador Página 224

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 298
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 223
Clicking the "Configure Proxy URLs" link takes us to the proxy editor:
From here we can define proxy definitions. A proxy definition is defined in two parts. The first is
the "context path" which is the path that the browser wishes to logically reach. The second is the
proxied URL which is the actual destination that will be targeted.
Proxies are detected by a prefix of "/proxy".
Here is an example. Imagine we have a REST provider located at:
http://myserver.com/myRest/myRequest
We can make a proxy definition that says:
"/myRest/*" is mapped to "http://myserver.com/myRest"
If a request is then made to the Ajax server at:
/proxy/myRest/myRequest
then the Web Preview Server will route this to:
http://myserver.com/myRest/myRequest
Page 224
Vista de página 223
1 2 ... 219 220 221 222 223 224 225 226 227 228 229 ... 297 298

Comentários a estes Manuais

Sem comentários