简体   繁体   English

Google App Engine Java后端_ah / start

[英]google app engine java backend _ah/start

I read in the google app engine backend documentation for java and it's said that we need to give the url for the backend to be _ah/start. 我阅读了Java的Google App Engine后端文档,并说我们需要给后端提供_ah / start的URL。 Is the java backend url-pattern in web.xml needs to be _ah/start? web.xml中的Java后端url模式是否需要为_ah / start? Can I change that into my custom url name? 我可以将其更改为自定义网址名称吗?

Thanks. 谢谢。

From the App Engine documentation: 从App Engine文档中:

A backend instance can be targeted with HTTP requests to
http://[instance]-dot-[backend_name]-dot-[your_app_id].appspot.com,
or at your application's custom domain.

So you can use whatever domain is configured for your app. 因此,您可以使用为应用程序配置的任何域。 _ah/start is a way to start the backend, ie a simple request sent to: _ah/start是启动后端的一种方法,即,一个简单的请求发送到:

backend1-dot-myapp.appspot.com/_ah/start

will start the backend. 将启动后端。 You don't have to do it - you can send any request to a backend, and the App Engine will start it for you if no instances are running. 您不必这样做-您可以将任何请求发送到后端,如果没有实例在运行,则App Engine将为您启动该请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM